Filtering in Excel Macro

austinandrei

Board Regular
Joined
Jun 7, 2014
Messages
117
Hi,
I have an excel data wherein there are list in Column A that needs to be filtered then copy in a new sheet.
It will start with the first item then all data will be copied to a new sheet then save to a folder and then the macro will go to the second item then all data will be copied to a another sheet and so on.
There is a limit to how many items the excel filter can show and this macro should take all values.

austin
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Here's the sample file:

Serial NumberItemSettled date PiecesCurrency
899816115-08-2014 100USD
899688215-08-2014 100USD
899559315-08-2014 100USD
899559415-08-2014 100USD
899559515-08-2014 100USD
8957041515-08-2014 100USD
8953821615-08-2014 100USD
8949521715-08-2014 100USD
8923001815-08-2014 100USD
8849001915-08-2014 100USD

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>

First filter will be like this then copy all data and paste to the sheet next to it:

Serial NumberItemSettled date PiecesCurrency
8849001915-08-2014 100USD

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Hmm.. I think I know now how to get things done by using a separate sheet to list all unique data in Column A and use it as variant. Thanks
 
Upvote 0

Forum statistics

Threads
1,222,013
Messages
6,163,390
Members
451,834
Latest member
tomtownson

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top