ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro Menu (https://www.excelbanter.com/excel-programming/390899-macro-menu.html)

Sam

Macro Menu
 
I have a userform with command buttons that initiate procedures in general
modules. How can I prevent these procedures from being run via
Tools...Macro...Macros?

Paul B

Macro Menu
 
Sam, put Option Private Module at the top and you want see any macros in the
module, or put Private in front of you sub it you only want to hide one or
two, like Private Sub Test
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"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
Tools...Macro...Macros?





All times are GMT +1. The time now is 12:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com