+ Reply to Thread
Results 1 to 10 of 10

Hide Rows if a task is complete

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    8

    Hide Rows if a task is complete

    Hello all,

    I've got a bit of a problem and hope I can find an answer here:

    I've got this excel spreadsheet that I did up. It has many rows of items and about 6 columns of information. The last cell is a "complete" cell.

    What I want to do is make it so that the rows that get changed to "complete" disappear or get hidden from the excel spreadhseet.

    is there a way to do this?

    Reason I want it done:

    I want to be able to enter tasks and once they are complete, have them disappear from the screen leaving only the active tasks visible.

  2. #2
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Hide Rows if a task is complete

    Plz, post a sample file as your data, and give more detail what you need
    Best regard, -)iger-/iger
    If you are pleased with a solution mark your post SOLVED.

  3. #3
    Registered User
    Join Date
    04-09-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Hide Rows if a task is complete

    Ok, so I have this spreadsheet (attached) with information on it.

    What I want to do is to be able to fill out the COMPLETE cells with an 'X' in it and have that entire row that the 'X' corresponds to become invisible (disappear?).

    Is this possible?
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Hide Rows if a task is complete

    You could just filter on whatever column your complete cell is in. Otherwise, you need to use VBA.

    Assuming your complete cell is column K and the range is from K2:K500
    Right click on the sheet tab and "View Code"
    Paste in
    Please Login or Register  to view this content.
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    04-09-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Hide Rows if a task is complete

    I'm using Excel 2003 at work (2010 at home), how do I get to the code screen in 2003?

  6. #6
    Registered User
    Join Date
    04-09-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Hide Rows if a task is complete

    I got it, and yes, sir. that works! Thank You!

    Now, the big question: How do I bring the data back out if I need to review all the items that have been completed to date?

  7. #7
    Registered User
    Join Date
    04-09-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Hide Rows if a task is complete

    Again, I found the info. I really have to stop and think before I post, hahaha. A little confidence in my own skills is what I need!

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Hide Rows if a task is complete

    Glad it's working for you.

  9. #9
    Registered User
    Join Date
    04-09-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Hide Rows if a task is complete

    Here's a follow up question regarding the macro you provided, ChemistB ...

    Is there a way to activate this macro and have the columns hide AFTER the data has already been inputted?

  10. #10
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Hide Rows if a task is complete

    I assume you mean "after all the data" has been inputted? It obviously doesn't hide the row before you put in the data or you couldn't put in the "X".

    You could have it continue to be event driven like "Before Closing" or "Upon Opening" or "Before saving" or something more specific like "on double click" or
    you can assign a macro to a button?
    How do you want to do it?

+ 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