Hi. Thank you so much Graham.


Quote Originally Posted by gmayor View Post

    If Not bVar Then
        If MsgBox("Run the macro?", vbYesNo) = vbYes Then
            ThisDocument.Variables("varRunMacro").Value = True
This one worked great if I wanted a message box to turn the macro on/off. But I am thinking about expanding the function to work on many macros. That means the user must choose on/off the first time he press the hotkey on every macro. I would rather have a list of all the macros in a Userform, so the user could switch the macro on/off before he starts interpreting (f.ex. with checkbox).


Once again, thank you for your time.