ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Protecting Macro's (https://www.excelbanter.com/excel-programming/309576-protecting-macros.html)

Nick

Protecting Macro's
 
Hello people,

Just a quick question for you. Is it possible to prevent
a macro from being altered in a worksheet? I know you can
protect teh worksheet with a password etc but can the
macro's within it be protected as well?

Any help gratefully recieved

Cheers


Nick

Paul

Protecting Macro's
 
Macros are viewed in the Visual Basic Editor
Press Alt+F11 to get it.
Click on Tools, VBAProject Properties, Protection
Check the checkbox "Lock Project for Viewing" and type in
a password.
-----Original Message-----
Hello people,

Just a quick question for you. Is it possible to prevent
a macro from being altered in a worksheet? I know you can
protect teh worksheet with a password etc but can the
macro's within it be protected as well?

Any help gratefully recieved

Cheers


Nick
.



All times are GMT +1. The time now is 09:57 PM.

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