Macros in menu
Place your module code into the button code.
Copy the general module code, right-click on the userform button and select
'View code'. Paste code here. The remove the general module code.
Backup file first.
HTH,
Paul
"Sam" wrote in message
...
I have a userform with command buttons that initiate procedures in general
modules. How can I prevent these procedures from being run via the
Tools...Macro...Macros menu?
|