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
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
try somehow like this:
1st - execute some filter condition
2nd - run macro
This should workPlease Login or Register to view this content.
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.
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.
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.
Say thanks, click *
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.
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 ..
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.
Thanks, Charles!
Hi MaczaQ,
How to amend your code to keep the data in the format of destination cells, i.e. sheet2?
Thanks,
Eduard
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks