Results 1 to 7 of 7

Hide/Show rows based on drop down list

Threaded View

  1. #5
    Registered User
    Join Date
    01-13-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Hide/Show rows based on drop down list

    Marvin P

    Ok in the VBA you have "If Not Intersect(Target, Cells(4, "G")) Is Nothing Then" but in my sheet that Im going to use this on the Cells E41:E42 are Merged and that is where the Data Validation list is located. I have changed the code from If Not Intersect(Target, Cells(4, "G")) Is Nothing Then to If Not Intersect(Target, Range("E41:E42")) Is Nothing Then and cant get it to work. I cant just do If Not Intersect(Target, Range("E:E")) Is Nothing Then Because I will have Validation on column E3 Rows 2, 15 28 Can this still be done?

    Here is the sheet so you can see what I'm trying to do.. So if the Data Validation in Cell E41:E42 is Blank it would hide Rows 42:48 but any other selection it would show Rows 42:48. Disregard the conditional formatting Ill fix that once this problem has been fixed LOL

    Thanks Again!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hide rows based on drop down list
    By soco3594 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-12-2017, 09:08 PM
  2. Hide rows based on muti cell drop down list
    By prat33 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-06-2017, 09:32 PM
  3. Macro to hide/show rows based on Drop Down selection
    By Bleucherie in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-03-2015, 06:14 PM
  4. [SOLVED] Show/hide rows based on drop down cell using named ranges
    By Stu091074 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2014, 11:00 AM
  5. [SOLVED] hide or unhide rows based on text within a drop down list
    By souimet in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2013, 01:32 AM
  6. [SOLVED] Macro Filter to hide rows based on Drop Down List
    By dieseldogpi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-12-2012, 11:19 AM
  7. 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

Tags for this Thread

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