You could try this:
![]()
Sub del_rules() Dim myrng As Range For Each cfr In Worksheets("Sheet1").Cells.FormatConditions Set myrng = cfr.AppliesTo If myrng.Address <> "$O$42:$O$141" Then cfr.Delete Next cfr End Sub
You could try this:
![]()
Sub del_rules() Dim myrng As Range For Each cfr In Worksheets("Sheet1").Cells.FormatConditions Set myrng = cfr.AppliesTo If myrng.Address <> "$O$42:$O$141" Then cfr.Delete Next cfr End Sub
Please help by:
Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know
There are 10 kinds of people in this world... those who understand binary, and those who don't.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks