I need to filter and separate 100 PDF files as per Excel sheet

appc777

New Member
Joined
Apr 7, 2011
Messages
3
I have 11000 PDF files dumped into a folder located in path: C:\ALL_PDF From these 11000 PDF files. I need to loop in that folder and copy 100 PDF files as per Excel sheet and move them to a folder located in this path: E:/PDF.
Is it possible to create a macro code that will compare my Excel sheet to all of the files inside C:/ALL_PDF , and then copy only those files that match to my Excel sheet and then copy only matching files into the C:/FILTER_PDF
Any help will be greatly appreciated. Thanks
<!-- / message -->
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Are you asking to copy files or move them ( you say both in different places in your posting ). Where are the files to go exactly? You mention 2 different places as the target area.

Have you used VBA at all? Look at the FileCopy command ... it may do what you want.
 
Upvote 0
Are you asking to copy files or move them ( you say both in different places in your posting ). Where are the files to go exactly? You mention 2 different places as the target area.

Have you used VBA at all? Look at the FileCopy command ... it may do what you want.

sorry about lack of introduction. let me explain
I have 11000 PDF files @ datafolder located @ C:\datafolder. I need to loop in that folder and copy 100 PDF files as per Excel sheet to newfolder located @ c:\newfolder
 
Upvote 0
Hi appc777,

sorry for not responding, but I went away for Easter. Did you get any further with this?
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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