+ Reply to Thread
Results 1 to 5 of 5

Excel VBA - Advanced Filter Variable Cell Reference

  1. #1
    Registered User
    Join Date
    01-22-2008
    Posts
    3

    Excel VBA - Advanced Filter Variable Cell Reference

    Hi, I'm new to your forum, so I will try and be concise:
    I am using the advanced filter function in Excel and want the list range and the beginning anchor cell in the copy to range to be variable. The user will select the level of detail from a pull down menu, which dictates the ranges in the advanced filter. When I use the record function for the macro, it only records the ranges selected while recording vs being variable:
    Please Login or Register  to view this content.
    The range U1:X911, the U needs to flex to U, V or W depending on the user's selection and the copy to range B13:E13, the B needs to flex to be B, C or D depending on the user's selection.
    Thank you.
    Last edited by VBA Noob; 01-22-2008 at 05:46 PM.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    How does the user make their selections?

  3. #3
    Registered User
    Join Date
    01-22-2008
    Posts
    3
    drop down menus that create the variable U,V or W and B,C,or D

  4. #4
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    If your drop downs are in A1 and B1
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-22-2008
    Posts
    3
    thank you.

+ 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