+ Reply to Thread
Results 1 to 6 of 6

Hide rows depending on a selection in a drop-down list.

  1. #1
    Registered User
    Join Date
    04-30-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Hide rows depending on a selection in a drop-down list.

    Hi, I have tried many different ways of doing this, but I can't quite nail it. I am creating a form for colleagues to use and depending on their selection in the drop down list, I want to be able to hide a group of rows at the bottom of the form. I have tried VBA and Macros but I don't think I am getting the coding right.
    Thanks for your help!!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Hide rows depending on a selection in a drop-down list.

    Supply a sample workbook.

  3. #3
    Registered User
    Join Date
    04-30-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Hide rows depending on a selection in a drop-down list.

    Hi, I have attached the spreadsheet. What I basically want to do is if they click in C4 and select "Online - Brisbane" or "Online - Perth" the rows 61:66 are hidden so they don't fill them out. Alternately, if they select the other 2 options, they aren't hidden.
    Thanks.
    Last edited by Kim_Mohler; 05-02-2012 at 05:44 PM.

  4. #4
    Registered User
    Join Date
    04-30-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Hide rows depending on a selection in a drop-down list.

    So I have input the following:
    Please Login or Register  to view this content.
    Which has worked for hiding the required rows, however I can't get them to unhide if, once selected, they want to change their option to one of the other 2.
    Last edited by davesexcel; 05-02-2012 at 06:57 AM. Reason: code tags required, please read the Foum Rules

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Hide rows depending on a selection in a drop-down list.

    See if this works.
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-30-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Hide rows depending on a selection in a drop-down list.

    You are an absolute champion! It works. 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