+ Reply to Thread
Results 1 to 4 of 4

How do I locate cells who have conditional formats activated?

  1. #1
    HamFlyer
    Guest

    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. #2
    Duke Carey
    Guest

    RE: 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. #3
    Bob Phillips
    Guest

    Re: 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" <[email protected]> wrote in message
    news:[email protected]...
    > 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.




  4. #4

    Re: 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


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1