Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protecting VBA macro from modification by users
I want to prevent users from modifying a VBA macro in Excel. Otherwise, the
sheet should be unprotected. How can I do this? Thanks. Mike |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protecting VBA macro from modification by users
You need to get into the VBE (Alt F11) IN the left hansd side you will see a
list of all of the projects currently open. Right Click on the project (spreadsheet) you want to protect. Select Properties and then select the protection Tab... Add a Password and Bob's your uncle. One thing to note is that a protected project will not allow you to enter the debug mode if the VBA crashes, so you will have to Unprotect it a recreate the error to debug it... HTH "cason621" wrote: I want to prevent users from modifying a VBA macro in Excel. Otherwise, the sheet should be unprotected. How can I do this? Thanks. Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Protecting Cells From Certain Users | Excel Discussion (Misc queries) | |||
How do I allow users to view grouped rows while still protecting d | Excel Discussion (Misc queries) | |||
Protecting cells for different users | Excel Discussion (Misc queries) | |||
Need Macro Modification | Excel Programming | |||
Protecting cells in Excel so that users can only paste in text | Excel Programming |