I am using Excel 2007. I am designing a workbook that others will use. I want to create a "reset" feature, which is a hidden macro that launches a userform that will allow the user to reset the workboook (i.e., clear saved settings in various cells).
I want to create a Reset subroutine that meets the following criteria:
1. Macro can only be launched if a certain keystroke combination is used; e.g., {Shift}{Ctrl}{Alt}{~}
Note: It doesn't have to be that exact keyboard combo. I just want it to be a multi-key combo of keys not commonly used so it isn't triggered by accident.
2. It is not visible from the macro box that shows a list of macros available to run. I don't want the users running this macro by mistake or tempting nosey users to run it to "see what it does."
How is this best accomplished in VBA?
I want to create a Reset subroutine that meets the following criteria:
1. Macro can only be launched if a certain keystroke combination is used; e.g., {Shift}{Ctrl}{Alt}{~}
Note: It doesn't have to be that exact keyboard combo. I just want it to be a multi-key combo of keys not commonly used so it isn't triggered by accident.
2. It is not visible from the macro box that shows a list of macros available to run. I don't want the users running this macro by mistake or tempting nosey users to run it to "see what it does."
How is this best accomplished in VBA?