Sub Clear_Cell_Backgroud()
Dim ws As Worksheet
For Each ws In Worksheets
Cells.Interior.ColorIndex = xlNone
Next ws
End Sub
When you say Delete Formatting, that can mean a lot of different things; Font Bold, Font color, Cell number formats, cell bacground colors, etc.
This will clear just the cell background colors (not conditional formatting) for all sheets.
Code:Sub Clear_Cell_Backgroud() Dim ws As Worksheet For Each ws In Worksheets Cells.Interior.ColorIndex = xlNone Next ws End Sub