ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   delete conditional formatting via macro (https://www.excelbanter.com/excel-discussion-misc-queries/200506-delete-conditional-formatting-via-macro.html)

mohavv

delete conditional formatting via macro
 
Hi,

Is it possible to remove conditional formatting setting vai a macro.

I use a macro to copy a range (visible rows only) to a new sheet, the
cond.formatting gets messed up because the row numbers change.

The macro recorder doesn't record the cond.format part.

Cheers,

Harold

Wigi

delete conditional formatting via macro
 
For instance

Selection.FormatConditions.Delete


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"mohavv" wrote:

Hi,

Is it possible to remove conditional formatting setting vai a macro.

I use a macro to copy a range (visible rows only) to a new sheet, the
cond.formatting gets messed up because the row numbers change.

The macro recorder doesn't record the cond.format part.

Cheers,

Harold



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

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