ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hide code (https://www.excelbanter.com/excel-programming/372329-hide-code.html)

Emily Edgington

Hide code
 
I have a password-protected form and don't want any savvy users to open the
VBE and get the password out of it, so they have free range on the template.

Can I hide modules and/or code within?

Jim Thomlinson

Hide code
 
You can protect the project. In the VBE right click the project and select
properties. Select Protection and be sure to check of Lock Project for
viewing before you add a password. Just be aware that there is truely secure
way to lock anything in Excel. anything can be hacked without too much
difficulty...
--
HTH...

Jim Thomlinson


"Emily Edgington" wrote:

I have a password-protected form and don't want any savvy users to open the
VBE and get the password out of it, so they have free range on the template.

Can I hide modules and/or code within?


Dave Peterson

Hide code
 
You can protect the project.

Within the VBE
tools|VBAProject Properties|Protection tab.

But that isn't 100% effective. There are password breakers for everything!

Emily Edgington wrote:

I have a password-protected form and don't want any savvy users to open the
VBE and get the password out of it, so they have free range on the template.

Can I hide modules and/or code within?


--

Dave Peterson


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

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