+ Reply to Thread
Results 1 to 4 of 4

Copying information from an autofiltered worksheet

  1. #1
    Registered User
    Join Date
    02-06-2009
    Location
    Detroit, Mi USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Copying information from an autofiltered worksheet

    I want to create a macro that will take information from one worksheet to another. The problem is that the first worksheet has an autofilter and i do not know how copy information only from the cells that were filtered with the correct information without copying it manually.
    Last edited by ctdutro; 02-20-2009 at 05:15 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copying information from an autofiltered worksheet

    You can use
    Please Login or Register  to view this content.
    You might want to add a check for a Filter
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-06-2009
    Location
    Detroit, Mi USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Copying information from an autofiltered worksheet

    I suspose my broader question would really be this

    How can I have ONLY the filtered data in order to use it as my rowsource property of my listbox..ie, I would like my listbox to display only the rows of data that are visible after filtering, not the entire list which I began with.

    Could the same code still be used?

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copying information from an autofiltered worksheet

    Why not ask this in the first place? Take a look at the code that I use to Filter data & display it in a Listbox in this example

+ 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