Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With worksheets("SomesheetNameHere")
If .ProtectContents = True _ Or .ProtectDrawingObjects = True _ Or .ProtectScenarios = True Then 'do nothing, it's already protected Else .Protect Password:="Something" End If End With Ananth wrote: Want to Check if Worksheet is protected or not. If not protected want to protect with a password €śSomething€ť If it is protected ignore action. How to do this programatically -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Spell check when worksheet is protected | Excel Discussion (Misc queries) | |||
unprotect check box in protected worksheet | Excel Discussion (Misc queries) | |||
Spell Check cells in Protected Worksheet? | Excel Discussion (Misc queries) | |||
spell check for protected worksheet for Excel 97 | Excel Discussion (Misc queries) | |||
Why doesn't spell check work on a protected worksheet? | Excel Worksheet Functions |