Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Putting Option Private Module at the top of each standard module should do
it. -- Jim "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? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excellent! Thank you so much! It worked beautifully!
"Jim Rech" wrote: Putting Option Private Module at the top of each standard module should do it. -- Jim "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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macros and Menu Command | Excel Discussion (Misc queries) | |||
Command/Menu bar & assigned macros | Excel Programming | |||
Macros Menu Keeps Appearing | Excel Discussion (Misc queries) | |||
Triggering an excel menu using macros | Excel Programming | |||
Can't Move Menu with Macros to Another Folder | Excel Programming |