Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I determine if a sheet is protected or not?
thank u |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try
activesheet.protectcontents HTH Bob "Robert Crandal" wrote in message ... How can I determine if a sheet is protected or not? thank u |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub test()
MsgBox ActiveSheet.ProtectionMode 'returns true or false End Sub Gord Dibben MS Excel MVP On Mon, 18 Jan 2010 16:28:18 -0700, "Robert Crandal" wrote: How can I determine if a sheet is protected or not? thank u |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Robert,
Sheet1.ProtectContents True = protected, False = unprotected. "Robert Crandal" wrote: How can I determine if a sheet is protected or not? thank u . |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
With worksheets("SomeSheetNameHere")
If .ProtectContents = True _ Or .ProtectDrawingObjects = True _ Or .ProtectScenarios = True Then 'it's protected else 'it's not protected End with Robert Crandal wrote: How can I determine if a sheet is protected or not? thank u -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you Determine if a Worksheet is protected? | Excel Programming | |||
How to determine if the workbook is protected? | Excel Programming | |||
Line count in 1 sheet to determine paste range in 2nd sheet. | Excel Programming | |||
Protected cells in Protected sheet | Excel Programming | |||
How to determine whether a protected sheet has a password? | Excel Programming |