Change all Conditional Formatting At Once?

mhenk

Well-known Member
Joined
Jun 13, 2005
Messages
591
I have a sheet with a fairly large amount of conditional formatting (all the same format, different conditions).

I would like to quickly change all of the (conditional) formats, but leave the conditions as is.

Can anyone think of a quick way to do this?
 
You are correct, if your conditional formats (CF's) are varied, you can't do them all at once.

I was able to change CF's in groups.
If you have very divergent CF's, you will have to work with just similar CF's, like all CF's in one column.

Ugg.

That's what I was afraid of.
 
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi

If your conditional formats (CF's) are varied you can also loop through them and change them one by one with vba.

Example, assuming that it's the colour of the first condition that you want to change (even if the conditional formatting conditions vary):

Code:
Sub ChangeCFormat()
Dim rRng As Range, rcell As Range

Set rRng = Cells.SpecialCells(xlCellTypeAllFormatConditions)

For Each rcell In rRng
    With rcell
        If rcell.FormatConditions.Count > 0 Then _
            .FormatConditions(1).Interior.ColorIndex = 3 ' Red
    End With
Next rcell
End Sub

Hope this helps
PGC
 
Upvote 1

Forum statistics

Threads
1,223,099
Messages
6,170,111
Members
452,302
Latest member
TaMere

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top