+ Reply to Thread
Results 1 to 3 of 3

Hide Rows based on cell color

  1. #1
    Registered User
    Join Date
    11-20-2010
    Location
    Delaware, USA
    MS-Off Ver
    Excel 2003
    Posts
    73

    Hide Rows based on cell color

    Hi again, I'm looking for help with a code to hide each row that has a certain cell background color.

    Ex. If A52's background is Orange, hide the entire row.

    Orange was an example, I'm fine with the colors, but I need help determining how to identify the cell background.

    This is what I've got:

    Please Login or Register  to view this content.

    Thanks in advance for any help!!!
    Last edited by Pergo; 12-02-2010 at 03:08 PM.

  2. #2
    Forum Contributor
    Join Date
    11-25-2010
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    120

    Re: Hide Rows based on cell color

    Hi there,

    The code below should work fine, there is no need to use Application with the range collection:

    Please Login or Register  to view this content.
    Hope that helps.

    P.S. I notice that colour is Dark Purple not Orange but I think you know that.
    If the post was helpful please click the black star on the bottom left to add some reputation and mark your thread as SOLVED.

    A day with nothing new achieved or learned, albeit however small, is a day lost forever?

    Constant Never Ending Improvement

  3. #3
    Registered User
    Join Date
    11-20-2010
    Location
    Delaware, USA
    MS-Off Ver
    Excel 2003
    Posts
    73

    Re: Hide Rows based on cell color

    Works great! Thank you so much!!

+ 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