ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   lock macro (make grey) (https://www.excelbanter.com/excel-programming/277887-lock-macro-make-grey.html)

Tom

lock macro (make grey)
 
Hi,

Do you know how te lock a Macro, so you can't click Edit
or if there is a debug in the macro, you can't click
debug, only choose end ?

Thx
Tom

Trevor Shuttleworth

lock macro (make grey)
 
Tom

press Alt-F11 to load the VB Editor.

Select Tools | VBA Project Properties, select the Protection tab, lock the
project for viewing and enter a password.

Regards

Trevor


"Tom" wrote in message
...
Hi,

Do you know how te lock a Macro, so you can't click Edit
or if there is a debug in the macro, you can't click
debug, only choose end ?

Thx
Tom





All times are GMT +1. The time now is 03:53 AM.

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