+ Reply to Thread
Results 1 to 9 of 9

Toggle button to hide rows if empty and has no color

  1. #1
    Registered User
    Join Date
    04-04-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Toggle button to hide rows if empty and has no color

    I have tried reading similar posts asking for help but I am unable to solve it myself. What I am trying to do is hide all the rows with no data in D column. But I do not want to hide the rows which are headings (Rows of blue, red, black, yellow and light blue). So for the cell to be hidden it has to have no data and not have a color. I attached the file if it makes it easier to understand.

    I am also trying to make a toggle button for the above function
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-04-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Toggle button to hide rows if empty and has no color

    There we go attached the file, silly mistake

  3. #3
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Toggle button to hide rows if empty and has no color

    hi chris,
    see if it helps you...
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  4. #4
    Registered User
    Join Date
    04-04-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Toggle button to hide rows if empty and has no color

    Thank you John, worked perfectly

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Toggle button to hide rows if empty and has no color

    Glad it helped you!

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Toggle button to hide rows if empty and has no color

    You can reduce it to one macro

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

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  7. #7
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Toggle button to hide rows if empty and has no color

    hi Roy,
    Thank you very much for your solution!

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Toggle button to hide rows if empty and has no color

    Hi John

    This is slightly tidier

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    04-04-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Toggle button to hide rows if empty and has no color

    Thank you updated my worksheet, this will save me a large amount of time in the future.

+ 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