Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Temporarily override sheet protection
Hi, Does anyone know of an easy way to temporarily override the sheet
protection? After copying a range - I want to paste into a protected sheet. Rows("2:2").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _ SkipBlanks:=False, Transpose:=False Elijah |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Temporarily override sheet protection
Elijah,
If it is password protected like a few that I work with, I use the following code to un protect... ThisWorkbook.Worksheets(p_Sheet).Unprotect ("password") And then when I am done.... ThisWorkbook.Worksheets(p_Sheet).Protect ("password") HTH, Dean. "Elijah" wrote: Hi, Does anyone know of an easy way to temporarily override the sheet protection? After copying a range - I want to paste into a protected sheet. Rows("2:2").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _ SkipBlanks:=False, Transpose:=False Elijah |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Data Protection Best Practice: AKA: Real Sheet Protection | Excel Discussion (Misc queries) | |||
Excel Data Protection- AKA: Sheet/Macro Password Protection | Setting up and Configuration of Excel | |||
Can a Macro override sheet Protection? | Excel Discussion (Misc queries) | |||
How do I temporarily disable hyperlinks in an excel sheet? | Setting up and Configuration of Excel | |||
Macro override password protection | Excel Programming |