I have a macro that I execute with a button in the Ribbon.
This macro gives the user the option to select between 2 analysis modes via an input window (Do a country specific analysis or not. If yes, what is the name of the country)
What I would like to do is move this option to a Ribbon check box. In other words I want the user to check or not check a check box in the Ribbon depending on what type of analysis the user wants to do.
Subsequently the user executes the macro by pressing the Ribbon button.
I imagine that the code that links the Ribbon check box with the macro looks something like the code below. If somebody could tell me exactly how it is done that would be great.
Bookmarks