+ Reply to Thread
Results 1 to 3 of 3

Hiding Rows based on Drop Down menu selection

  1. #1
    Registered User
    Join Date
    03-05-2008
    Posts
    2

    Hiding Rows based on Drop Down menu selection

    I already have a macro that can resize columns to show only the date range selected from a drop down menu. (date range is listed along 1 row)

    I am trying to do the same for some worksheets that have the date range listed down one column.

    The first section shows the example with the date range listed along a column. This is working. The second section is my attempt to get the same result for when the date range is listed down a column instead.

    How do i do this? Thanks for your help!

    Please Login or Register  to view this content.
    Last edited by VBA Noob; 03-05-2008 at 06:08 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by smurph_27
    I already have a macro that can resize columns to show only the date range selected from a drop down menu. (date range is listed along 1 row)

    I am trying to do the same for some worksheets that have the date range listed down one column.

    The first section shows the example with the date range listed along a column. This is working. The second section is my attempt to get the same result for when the date range is listed down a column instead.

    How do i do this? Thanks for your help!

    Please Login or Register  to view this content.
    What are the values of the variables for colnum3, colnum4, rowx3 and rowx4 ?
    Are the ranges "rowx3" and "rowx4" named in the s/s?

    What are you trying to achieve with the .Resize operation?

    Rgds

  3. #3
    Registered User
    Join Date
    03-05-2008
    Posts
    2
    I figured it out, silly me, I called out the wrong worksheet. No wonder it didn't work.

+ 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