ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Find cells that are conditionally formatted (https://www.excelbanter.com/excel-discussion-misc-queries/198330-find-cells-conditionally-formatted.html)

Code Numpty

Find cells that are conditionally formatted
 
Is there a way in which to find all cells on a worksheet that have
conditional formatting applied to them?

Bob Phillips[_3_]

Find cells that are conditionally formatted
 
See http://xldynamic.com/source/xld.CFConditions.html

--
__________________________________
HTH

Bob

"Code Numpty" wrote in message
...
Is there a way in which to find all cells on a worksheet that have
conditional formatting applied to them?




Gary''s Student

Find cells that are conditionally formatted
 
Edit Goto Special... conditional formats
--
Gary''s Student - gsnu200799

Mike H

Find cells that are conditionally formatted
 
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

"Code Numpty" wrote:

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


Code Numpty

Find cells that are conditionally formatted
 
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.


All times are GMT +1. The time now is 07:55 AM.

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