ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Password protection of an Excel Add-In (https://www.excelbanter.com/excel-programming/296422-re-password-protection-excel-add.html)

Chip Pearson

Password protection of an Excel Add-In
 
Shawn,

In VBA, go to the Tools menu, choose VBA Project Properties, then
the Protection tab. There, check the "Lock Project For Viewing"
item and give it a password. Note, though, that there are a
variety of tools available on the net that will break this
password. There is no foolproof way to protect your VBA code.
Real code security is achieved only by writing your add in as a
COM/ActiveX DLL file.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"Shawn" wrote in message
...
Hi

What would be the best way to protect the code in an Excel

Add-In?

Thanks

Shawn





All times are GMT +1. The time now is 09:01 AM.

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