+ Reply to Thread
Results 1 to 4 of 4

AutoFilter Selection info

  1. #1
    Forum Contributor
    Join Date
    01-09-2009
    Location
    Cedar Hill, Tx
    MS-Off Ver
    Excel 2003
    Posts
    200

    AutoFilter Selection info

    I'm interested in getting autoFilter information using VBA. When you have autoFilter turned on for a column, no matter how many rows of data are within the column, clicking on the autoFilter icon will give you a listing of the unique entries within the column and in sorted order. It is that information that I'm trying to extract. Can anyone give me a vba idea on how I might do that?

    TIA.

    Bob
    Last edited by bstubbs; 01-05-2013 at 12:10 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    860

    Re: AutoFilter Selection info

    Hi Bob,

    What you want to do with it I don't know, but put your names or numbers in column A. Run the code.
    Test it once if this is what you mean.

    Please Login or Register  to view this content.
    Much easier code.
    Please Login or Register  to view this content.
    Last edited by HSV; 01-04-2013 at 10:22 PM. Reason: hsv_2
    Harry.

  3. #3
    Forum Contributor
    Join Date
    01-09-2009
    Location
    Cedar Hill, Tx
    MS-Off Ver
    Excel 2003
    Posts
    200

    Re: AutoFilter Selection info

    Harry:

    Thanks. The code works fine but I'm was hoping for code that would look at the autoFilter object to do exactly the same thing. Any ideas in that direction?

  4. #4
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    860

    Re: AutoFilter Selection info

    I have no idea Bob what you mean.... sorry.
    Maybe other helpers do.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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