+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Loop Through Advanced Filter Unique Records

  1. #1
    Registered User
    Join Date
    03-15-2007
    Location
    Fairfax, Virginia
    MS-Off Ver
    Office 2013, Office 2016, Office 2019, Office 365
    Posts
    12

    Loop Through Advanced Filter Unique Records

    I captured the VB code code for copying the unique values for the list in A3:A39, and putting the result in A41

    Please Login or Register  to view this content.

    I want to repeat this process for Columns B - BL but I can't figure out how to loop through it for the different columns.
    Last edited by Wrecking_Crew; 03-21-2010 at 01:21 PM. Reason: Changing to SOLVED

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Loop Through Advanced Filter Unique Records

    Try

    Please Login or Register  to view this content.
    Martin

  3. #3
    RSpecianJr
    Guest

    Re: Loop Through Advanced Filter Unique Records

    Hey Wrecking_Crew,

    I haven't tested it but it should be something like:

    Please Login or Register  to view this content.
    Let me know if this is what your looking for or if you have any questions etc.

    Hope this helps,

    Robert Specian Jr.

    If this helps, please bump my reputation by hitting the scale in the top right of my post.

  4. #4
    Registered User
    Join Date
    03-15-2007
    Location
    Fairfax, Virginia
    MS-Off Ver
    Office 2013, Office 2016, Office 2019, Office 365
    Posts
    12

    Re: Loop Through Advanced Filter Unique Records

    Thanks R Specian Jr & Mrice - both with the same code at the same time

    Unfortunately gives an error

    "Method 'Range of object' _Worksheet' failed

  5. #5
    RSpecianJr
    Guest

    Re: Loop Through Advanced Filter Unique Records

    Hey Wrecking_Crew,

    Yeah, its pretty funny we posted at nearly the same time = P.

    His code has an error in it. The period should be a comma. Try:

    Please Login or Register  to view this content.
    Hope this helps,

    Robert Specian Jr.

    If this helps, please bump my reputation by hitting the scale in the top right of my post.

  6. #6
    Registered User
    Join Date
    03-15-2007
    Location
    Fairfax, Virginia
    MS-Off Ver
    Office 2013, Office 2016, Office 2019, Office 365
    Posts
    12

    Re: Loop Through Advanced Filter Unique Records

    Excellent!!! Works like a charm.

+ 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