+ Reply to Thread
Results 1 to 4 of 4

Report for Conditionally Formatted Cells

  1. #1
    Sige
    Guest

    Report for Conditionally Formatted Cells

    Hi There,

    Is there anybody who has a routine available that creates a report for
    my active sheet / workbook that says on which cells conditional
    formatting has been applied. Possibly with the conditions applied for
    those cells?

    Looking forward,

    Sige


  2. #2
    Registered User
    Join Date
    08-27-2003
    Location
    Perth, Australia
    MS-Off Ver
    2000
    Posts
    47
    Hi,
    listing all the format conditions may be a bit complicated, as there are so many permutations.

    This macro will return a simple list of all cells in the active sheet's used range with conditional formats (note cells outside the usedrange will not be picked up):

    Sub show_conditional_cells()
    cczz = ""
    n = 0
    For Each cc In ActiveSheet.UsedRange.Cells
    If cc.FormatConditions.Count > 0 Then

    cczz = cczz & cc.Address & " "
    n = 1 + n

    End If
    Next
    cczz = Trim(cczz)
    If cczz = "" Then MsgBox ("no conditional formats on this sheet") Else MsgBox "there are " & n & " cells with conditional formats on this sheet: " & cczz

    End Sub
    Nicky

  3. #3
    SIGE
    Guest

    Re: Report for Conditionally Formatted Cells

    Hi Nicky,

    Thanks for your code!!!
    I will have to find a way to get the conditions for the formatting still
    ...
    Suggestions welcome!

    Cheers Sige
    "NOSPAM" to be removed for direct mailing...

    *** Sent via Developersdex http://www.developersdex.com ***

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon Sige

    There is a utility in John Walkenbachs Power Utility Pak that will do just this. It costs $40 but you can download an evaluation version that will work unrestricted from his site. Once installed go to PUP v6 > Auditing Tools > Conditional Formatting Report.

    http://j-walk.com/ss/pup/pup6/index.htm

    HTH

    DominicB

+ 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