Possible to execute a macro dynamically?

I have a macro that iterates over a collection and executes a macro based off a switch statement. I'd love to know if there's a way to dynamically execute a macro using a variable name so I wouldn't have to add a new statement inside of the switch if I wanted to add a new item to the collection.


Yes there is and I use this method myself for exactly the use case you mention.

The great @gglick showed us the way in this post:


Awesome. Thank you :slight_smile:

1 Like