Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to highlight conditional formatting 2

Status
Not open for further replies.

coltaalex

Technical User
Jul 2, 2010
61
US
I have an excel sheet and i want
to highlight or select all the conditional formatting cells
it is possible ?
i want to see what cells contain CF
 
A starting point:
Code:
For Each fc In Cells.FormatConditions
  fc.AppliesTo.Interior.ColorIndex = 8  ' Cyan
Next

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
PHV ,
why color index =8 ?
i have different colors,
Thank you !!
 
To select cells:
Code:
ActiveSheet.Cells.SpecialCells(xlCellTypeAllFormatConditions).Select
An error occurs when there is no conditional formatting.
You can select cells without vba with (up to excel 2003 menu) Edit>Goto>>Special.. dialog.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top