+ Reply to Thread
Results 1 to 3 of 3

hide or unhide rows based on text within a drop down list

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    1

    hide or unhide rows based on text within a drop down list

    Good day,

    I'm new to this forum and to excel VBA functions and I require some assistance.

    I am trying to get my worksheet to hide or unhide rows based on text in a drop down list that was completed via Data Validation list. I have attached the file.

    So....
    Based on user selection in A6:I6 (merged cell),

    "PRP" - I need rows 26:28, 39,40,50,51,61,62,72,73, 90:120 hidden.
    "SGP" - I need rows 26:28, 41,42,52,53,63,64,74,75, 90:120 hidden.
    "SEP" - I need rows 39,40,50,51,61,62,72,73 hidden
    "LLW" - I need rows 26:28, 41,42,52,53,63,64,74,75, 90:120 hidden
    "TOP" - Want all rows to be shown
    Attached Files Attached Files

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: hide or unhide rows based on text within a drop down list

    Hello souimet,

    Welcome to the Forum.

    The attached sample WorkBook should do what you want.

    Also see the "Please consider" note at the bottom of this post.
    Attached Files Attached Files
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: hide or unhide rows based on text within a drop down list

    Hello souimet,

    You are welcome, glad I could help.

    Thank you for adding to my Reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to hide & unhide rows based on selection from drop down box?
    By jgomez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-02-2013, 08:30 PM
  2. Replies: 1
    Last Post: 02-01-2013, 03:06 PM
  3. Unhide or hide sheets based on drop down list value - need help combining these two macros
    By kstrick99999 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2012, 06:07 PM
  4. Hide/unhide columns based on the drop down list value
    By vagif in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2012, 02:13 AM
  5. Hide Rows based on Client Drop Down List
    By troyhalsey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2012, 07:28 AM

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