multiple cell color formatting

New Contributor

I'm wondering how to reformat the cell fill color across an entire sheet, i.e., I want to change all of the orange filled cells to blue.


I have excel for Mac 2018 v16.16.5 and don't see a find and replace option for this.


Is this supported by my current excel version?  Thanks.

3 Replies

I guess that shall work on Mac as well:


Ctrl+H, expand Options, in Find what define the format to replace; in Replace with the format on which to change. Replace All after that.


No sorry, there's no option for this in the Mac version.

Here the answer if anyone can use it.


Run it in macros


Sub ColorCoding()
For Each sheet in Worksheets
For Each rCell In sheet.Range("A3:CC500")
If rCell.Interior.ColorIndex = 45 Then
rCell.Interior.Color = RGB(255, 204, 153)
ElseIf rCell.Interior.ColorIndex = 33 Then
rCell.Interior.Color = RGB(153, 204, 204)
ElseIf rCell.Interior.ColorIndex = 35 Then
rCell.Interior.Color = RGB(204, 204, 153)
End If
Next rCell
Next sheet
End Sub

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
50 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Dev channel update to 80.0.355.1 is live
josh_bodner in Discussions on
67 Replies