+ Reply to Thread
Results 1 to 9 of 9

How can I extract a range of cells based on a filter view and copy them to another sheet ?

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    How can I extract a range of cells based on a filter view and copy them to another sheet ?

    How can I extract a range of cells based on a filter view and copy them to another sheet ?

    ( Example – Filter all the parcels sent in 03/04/2013 and make a list of them in the sheet LIST)
    Thank you

  2. #2
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: How can I extract a range of cells based on a filter view and copy them to another she

    try somehow like this:

    1st - execute some filter condition
    2nd - run macro

    Please Login or Register  to view this content.
    This should work
    Best Regards
    MaczaQ
    ---------------------------------------------------------------------------------------------------------------------------
    If you are satisfied with the solution(s) provided, please mark your thread as Solved
    If you are pleased with my answer consider to rate it. To thank someone who has helped you, click on the star icon below their name.
    - This way you will add him some reputation points ... thanks in advance.

  3. #3
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: How can I extract a range of cells based on a filter view and copy them to another she

    Hi,

    Welcome to the forum.
    Are you wanting to specify the Date.
    If so what column is the Date in?
    What is the range you want to copy.
    That is what column to last column.
    Also if you do a search on this forum you may be able to find a solution.
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

  4. #4
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: How can I extract a range of cells based on a filter view and copy them to another she

    Once you have applied a filter, highlight the data then copy and paste.

    Or you can approach this with the attached example. Sheet1 has the raw data, Sheet2 dislayed results based on date entered.
    Attached Files Attached Files
    Say thanks, click *

  5. #5
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: How can I extract a range of cells based on a filter view and copy them to another she

    Hi,

    Others have given you help.
    This is my version. You will see a "Test" button it will display a input box for a Date. You must enter it
    like 3/12/2013. When you click the "Ok" on the box the code should run.
    I have it looking at column 3 for the Date if the date is not in that column you must correct the code for the correct column.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-11-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: How can I extract a range of cells based on a filter view and copy them to another she

    Thank you for the quick answer. Could you tell me how to set the first range of cells (A1:c100) ? I dont know how many rows result after aplying the filter ..

  7. #7
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: How can I extract a range of cells based on a filter view and copy them to another she

    Hi,

    The file filters on the date you provide. It assumes that the Date is in column 3 it will only display the date that you inputed.
    It will copy all of the visible info to sheet "List" It is code to look for the last row.
    If you can provide a copy of your file. This will help.

  8. #8
    Registered User
    Join Date
    04-11-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: How can I extract a range of cells based on a filter view and copy them to another she

    Thanks, Charles!

  9. #9
    Registered User
    Join Date
    08-30-2005
    Posts
    67

    Re: How can I extract a range of cells based on a filter view and copy them to another she

    Hi MaczaQ,

    How to amend your code to keep the data in the format of destination cells, i.e. sheet2?

    Thanks,
    Eduard

+ 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