Find cells that are conditionally formatted

  • Thread starter Thread starter Code Numpty
  • Start date Start date
C

Code Numpty

Is there a way in which to find all cells on a worksheet that have
conditional formatting applied to them?
 
Hi,

This will produce a list of addresses with conditional formats in column A.
Right click your sheet tab, view code and paste it in.

Sub marine()
x = 1
Set myrange = Cells.SpecialCells(xlCellTypeAllFormatConditions)
For Each c In myrange
Cells(x, 1).Value = c.Address
x = x + 1
Next
End Sub


Mike
 
Thanks Guys! Many answers at the speed of light.

Gary''s Student easy and simple one was perfect for what I need. Thanks to
you all.
 

Ask a Question

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.

Ask a Question

Back
Top