ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Protect Macro from Edit (https://www.excelbanter.com/excel-programming/294647-protect-macro-edit.html)

Bin[_2_]

Protect Macro from Edit
 
How to use a password to protect my Macro that can be Run
only by others but not Edit?


Frank Kabel

Protect Macro from Edit
 
Hi
- goto the VBA editor (ALT + F11)
- right-click on your project name and choose 'Properties'
- enter a password in the appearing protection dialog

--
Regards
Frank Kabel
Frankfurt, Germany


Bin wrote:
How to use a password to protect my Macro that can be Run
only by others but not Edit?


Norman Harker

Protect Macro from Edit
 
Hi Bin!

In the VBE Project Explorer select the project then:

Tools VBA Project Properties Protection
Give and confirm password

Don't forget the password as they are more difficult to crack.

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia

Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.




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

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