Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have conditional formatting and protected ranges set up in an Excel 2003 workbook. When I run a particular macro, the conditional formatting and protected ranges disappear after the macro is done running. The conditional formatting is completely gone and the entire workbook becomes protected.
The line in the VB code related to the protection is: ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True But I don’t think anywhere in the code references the conditional formatting. Please help!! |
#2
![]() |
|||
|
|||
![]()
I have figured out the conditional formatting error (I had a range that was copied and pasted into another range- I formatted the destination cells instead of the first range that was being copied), but still cannot understand the protected ranges issue. Could it be the same reason? I only want certain months to be unlocked and the cells that get copied/pasted affect all 12 months. Thanks!
Quote:
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formatting Colors have disappear on my laptop. | Excel Worksheet Functions | |||
Running a macro from a conditional formula | Excel Discussion (Misc queries) | |||
If I have my sheets protected will that prevent me running a macro to hide certain sells? | Excel Worksheet Functions | |||
Conditional Formatting - date ranges | Excel Discussion (Misc queries) | |||
Ranges within Conditional Formatting | Excel Discussion (Misc queries) |