ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Not to display Macro list (https://www.excelbanter.com/excel-programming/336943-not-display-macro-list.html)

Cam

Not to display Macro list
 
Hello,

Is there an option in Excel 2000 to not display the macro list when users
click on Tools/Macros? Thanks

Jim Thomlinson[_4_]

Not to display Macro list
 
I do not know a a switch to hide all macros, but you can remove individual
macros from the list by adding the key word "Private" before the word Sub.
--
HTH...

Jim Thomlinson


"Cam" wrote:

Hello,

Is there an option in Excel 2000 to not display the macro list when users
click on Tools/Macros? Thanks


Harald Staff

Not to display Macro list
 
Hi

You can put
Option Private Module
on top of the module. You can declare it private

Private Sub Test()
'
End Sub

Also, macros with variables passed tothem will not be listed:

Sub Test(Optional B As Boolean)
'
End Sub

HTH. Best wishes Harald

"Cam" skrev i melding
...
Hello,

Is there an option in Excel 2000 to not display the macro list when users
click on Tools/Macros? Thanks





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

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