S
Seanie
What code could I use to delete all Conditional Formatting in the
active workbook?
Thanks
active workbook?
Thanks
What code could I use to delete all Conditional Formatting in the
active workbook?
Thanks
Thanks Ron, 2007 is the version
How can I tweak to delete on all sheets in the active workbook?
What am I doing wrong on below which debugs with message "no cells
found", I tried to tweak to delete all CF in all sheets, without any
message box display
Sub DeleteConditionalFormats()
Dim ws As Worksheet
Dim r As Range, c As Range
On Error GoTo 0
For Each ws In ActiveWorkbook.Worksheets
ws.Cells.SpecialCells(xlCellTypeAllFormatConditions).FormatConditions.Delete
Next ws
Exit Sub
End Sub
Thanks Ron, I thought "On Error GoTo 0" handled that
One further twist, delete all CF except in Sheets1; Sheet2; Sheet3?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.