Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How do I locate cells who have conditional formats activated?

I have a large spreadsheet that has some cells changed to RED interior. I
need to be able to find these cells using a macro or VBA.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,081
Default How do I locate cells who have conditional formats activated?

Sub Find_CF()

Dim rng As Range
Dim cc As Range

Set rng = ActiveSheet.UsedRange
For Each cc In rng
If cc.FormatConditions.Count 0 Then
'this cell has conditional formatting
' so handle it here

End If
Next

End Sub



"HamFlyer" wrote:

I have a large spreadsheet that has some cells changed to RED interior. I
need to be able to find these cells using a macro or VBA.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How do I locate cells who have conditional formats activated?

Go to the Edit Menu / GoTo / Special / mark conditional format. All
your cells with CF will turn to black background and you can reformat
them while they are highlighted. ed

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How do I locate cells who have conditional formats activated?

You can either check if a cell meets the CF criteria, or look at the
technique shown in http://www.xldynamic.com/source/xld.CFConditions.html

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"HamFlyer" wrote in message
...
I have a large spreadsheet that has some cells changed to RED interior. I
need to be able to find these cells using a macro or VBA.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting Cells with Conditional Formats DOUG Excel Discussion (Misc queries) 2 April 27th 10 03:24 PM
Sorting Cells with Conditional Formats DOUG Excel Discussion (Misc queries) 1 January 26th 10 05:44 PM
Filter Activated Conditional Formats? Ken Excel Discussion (Misc queries) 1 January 2nd 08 11:31 PM
conditional formats for cells Jason Bartup Excel Worksheet Functions 3 November 16th 06 09:20 AM
conditional formats affect other cells golden322 Excel Discussion (Misc queries) 8 January 22nd 06 10:22 PM


All times are GMT +1. The time now is 09:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"