ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Clearing Conditional Formatting (https://www.excelbanter.com/excel-programming/325872-clearing-conditional-formatting.html)

ExcelMonkey[_190_]

Clearing Conditional Formatting
 
Is it possible to select a worksheet and clear its
conditional formatting without highlighting the actual
range that has the formatting? I know I can do:

Selection.ClearFormats

But this takes out everything.

Thanks

Bernie Deitrick

Clearing Conditional Formatting
 
No need to select the worksheet:

Worksheets("SheetName").Cells.FormatConditions.Del ete

HTH,
Bernie
MS Excel MVP

"ExcelMonkey" wrote in message
...
Is it possible to select a worksheet and clear its
conditional formatting without highlighting the actual
range that has the formatting? I know I can do:

Selection.ClearFormats

But this takes out everything.

Thanks




Bob Phillips[_6_]

Clearing Conditional Formatting
 
Selection.FormatConditions.Delete

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ExcelMonkey" wrote in message
...
Is it possible to select a worksheet and clear its
conditional formatting without highlighting the actual
range that has the formatting? I know I can do:

Selection.ClearFormats

But this takes out everything.

Thanks





All times are GMT +1. The time now is 02:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com