Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheet Password Protection in VBA
Hi,
I have a workbook in which users are inputting data via user forms. Each time data is entered, or the file changed I am protecting the sheets, but without a password, using the following script. ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True Is there script (or other method) that I can use to assign a password so that the worksheets are protected with password and cannot be amended by simply clicking ToolsUnprotect Worksheet? Help gratefully received |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheet Password Protection in VBA
ActiveSheet.Protect "MyPassword"
-- Vasant "Graham" wrote in message ... Hi, I have a workbook in which users are inputting data via user forms. Each time data is entered, or the file changed I am protecting the sheets, but without a password, using the following script. ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True Is there script (or other method) that I can use to assign a password so that the worksheets are protected with password and cannot be amended by simply clicking ToolsUnprotect Worksheet? Help gratefully received |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to I reset a forgotten Excel worksheet protection password? | Excel Discussion (Misc queries) | |||
Excel Worksheet Password Protection | Excel Worksheet Functions | |||
use a macro to automate excel worksheet password protection | Excel Discussion (Misc queries) | |||
Password protection of worksheet when copied and pasted. | Excel Worksheet Functions | |||
Setting worksheet protection password in VBA | Excel Programming |