Checkbox value in a custom ribbon

J

jh

I have created a custom ribbon including a checkbox with a callback to
set its value in a public variable. The checkbox value is LATER used
as a parameter in other code. However I have found the scope of the
variable can be lost (e.g. if you change code in the VBE), whilst the
checkbox value remains. I therefore need a way of ascertaining the
value of the check box directly (no variables that can go out of
scope)

The GetPressedMso command seems promising but I have no idea how to
use..... any ideas greatfully received.

Thanks
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top