WTA - How to compile multiple workbooks (with filtered data) and the header need to preserve as they are similar in each files

arepp

New Member
Joined
Jan 22, 2018
Messages
1
Dear experts, please help me out to get the code,
.
I need to write a macro that can do this things :
.
there are 3 files (A,B,C) - contains single sheet each, in a specific folder that need to compile into a single worksheet :
- first, need to filter the years (select 2017,2018 only for all files)
- filter file A (there is one column that need to select as blank), only the row that has blank value on that column is shown (after filtered) that data is then copied.
- copy the entire filtered data of all files A,B,C - (only file A is special case that need extra filter as mentioned above)
into one workbook (paste in sequences - row after row)
- paste all the copied data into a cell that start on A2, as the header need to be remained .
.
lots of thanks, only god can reward your kindness.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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