+ Reply to Thread
Results 1 to 5 of 5

Advanced Filter Macro for Unique List

  1. #1
    Registered User
    Join Date
    10-19-2010
    Location
    Ross on Wye, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Advanced Filter Macro for Unique List

    Hello All

    I am trying to write a macro which creates a unique list from a range of data and prompts the user for the source and destination. This is using the Adanced Filter Option:

    Please Login or Register  to view this content.
    All seems to be working except the last part where the list fails to be pasted to the specified destination.

    Could anyone offer any suggestions as to where I'm going wrong please.

    Many thanks.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Advanced Filter Macro for Unique List

    A very small change:

    Please Login or Register  to view this content.
    When selecting the source, select the entire source.
    When selecting the destination, select only the header cell.
    Gary's Student

  3. #3
    Registered User
    Join Date
    10-19-2010
    Location
    Ross on Wye, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Advanced Filter Macro for Unique List

    Thanks very much for your response. I've done exactly as you've stated where at the various prompts, I select the entire range for the source and then just the first cell of the destination of the list, but nothing appears.

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Advanced Filter Macro for Unique List

    Did you note the change in the code I posted vs. your original code??

  5. #5
    Registered User
    Join Date
    10-19-2010
    Location
    Ross on Wye, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Advanced Filter Macro for Unique List

    Ah! Sorry, missed that bit. Yes it works perfectly now, 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