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.

Thanks!

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:

2 Likes

Awesome. Thank you :slight_smile:

1 Like