+ Reply to Thread
Results 1 to 2 of 2

Count unique colors font and/or unique color interior (not cells content, but colors)

  1. #1
    Registered User
    Join Date
    10-15-2012
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    10

    Count unique colors font and/or unique color interior (not cells content, but colors)

    Hi,

    Second post only (first left unanswered), so please, be patient.

    I'm working on a macro where different font and color filling is used. For each color, meaning of datas is different and actions done by macro is too. I did some some

    if color=[color] then (This part work well)
    Do something
    Colorcount=colorcount+1
    End

    Now i want to do something like

    c=worksheet.font.color.count (this part dont work)

    if c<> colorcount then (this part work)
    Msgbox " Some untreated datas may be delete. Continue anyway?"
    end if


    Thanks you

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Count unique colors font and/or unique color interior (not cells content, but colors)

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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