ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Protecting or Hiding VBa Code In a Workbook (https://www.excelbanter.com/excel-programming/336300-protecting-hiding-vba-code-workbook.html)

JR_06062005[_2_]

Protecting or Hiding VBa Code In a Workbook
 
I have a workbook with a lot of VBa code which is distributed to data
inputers. Although the workbook and worksheets are protected, the VBa code
is not. I tried using the VBa properties to assign a password. This does
not seem to accomplish anything.

I don't need a high level of security with the code, but right now any user
can go in and change it.

Any assistance will be appreciated.

Dave Peterson

Protecting or Hiding VBa Code In a Workbook
 
Make sure you Lock project for viewing, too

(also on that tools|vbaproject properties|protection tab)

JR_06062005 wrote:

I have a workbook with a lot of VBa code which is distributed to data
inputers. Although the workbook and worksheets are protected, the VBa code
is not. I tried using the VBa properties to assign a password. This does
not seem to accomplish anything.

I don't need a high level of security with the code, but right now any user
can go in and change it.

Any assistance will be appreciated.


--

Dave Peterson


All times are GMT +1. The time now is 11:18 PM.

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