ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can you lock macros (https://www.excelbanter.com/excel-discussion-misc-queries/120861-how-can-you-lock-macros.html)

SAM SEBAIHI

How can you lock macros
 
Is there anyway that you can lock macros and prevent from people seeing them?

Thank you in advance

Chip Pearson

How can you lock macros
 
In VBA, go to the Tools menu, choose VBAProject Properties, then the
Protection tab, check Lock Project For Viewing and enter a password.

Note that the security is very weak. I use VBAKey from Passware and it can
break a VBA password in seconds.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)



"SAM SEBAIHI" wrote in message
...
Is there anyway that you can lock macros and prevent from people seeing
them?

Thank you in advance



SAM SEBAIHI

How can you lock macros
 
WOW! Thank you so much Chip

Protection tab, check Lock Project For Viewing and enter a password.

Note that the security is very weak. I use VBAKey from Passware and it can
break a VBA password in seconds.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)



"SAM SEBAIHI" wrote in message
...
Is there anyway that you can lock macros and prevent from people seeing
them?

Thank you in advance





All times are GMT +1. The time now is 05:06 PM.

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