Johnny Thunder
Well-known Member
- Joined
- Apr 9, 2010
- Messages
- 693
- Office Version
- 2016
- Platform
- MacOS
Hello Everyone,
I am stuck on a project that requires a sheet to get a refresh to the conditional formatting to a sheet. Whenever a user Adds Rows to a sheet or duplicates the sheet the conditional formatting seems to get messed up by duplicating rules and changing my ranges from being entire Columns (example: A:A) to specific ranges (example: $A$100:$A$120).
There is about 20 Sheets in my workbook that all rely on the same Conditional Formatting on each sheet so if there is a fast way to correct this that doesn't involver VBA that would be helpful but if not, having a script that can clear all Conditional Formats and then reapply that would be great.
My current Conditions:
1. Formula: =$R1="Promo Ended" - Color Shading: Grey Cell Fill - Applies to: $Q:$S
2. Formula: =$N1="Promo Ended" - Color Shading: Grey Cell Fill - Applies to: $M:$O
3. Formula: ="Next Week" - Color Shading: Yellow Fill with Dark Yellow Text - Applies to: $S:$S,$W:$W,$AA:$AA,$AE:$AE,$AI:$AI
The above are the conditions set to each page. If there is a code that I can add to a button I can have the user press the button as they navigate to the sheet to ensure the conditions are always correct and refreshed. Thanks in advance for any help on this.
I am stuck on a project that requires a sheet to get a refresh to the conditional formatting to a sheet. Whenever a user Adds Rows to a sheet or duplicates the sheet the conditional formatting seems to get messed up by duplicating rules and changing my ranges from being entire Columns (example: A:A) to specific ranges (example: $A$100:$A$120).
There is about 20 Sheets in my workbook that all rely on the same Conditional Formatting on each sheet so if there is a fast way to correct this that doesn't involver VBA that would be helpful but if not, having a script that can clear all Conditional Formats and then reapply that would be great.
My current Conditions:
1. Formula: =$R1="Promo Ended" - Color Shading: Grey Cell Fill - Applies to: $Q:$S
2. Formula: =$N1="Promo Ended" - Color Shading: Grey Cell Fill - Applies to: $M:$O
3. Formula: ="Next Week" - Color Shading: Yellow Fill with Dark Yellow Text - Applies to: $S:$S,$W:$W,$AA:$AA,$AE:$AE,$AI:$AI
The above are the conditions set to each page. If there is a code that I can add to a button I can have the user press the button as they navigate to the sheet to ensure the conditions are always correct and refreshed. Thanks in advance for any help on this.