Merge pdf files based on the common id present in the name of pdf

Macromurry

New Member
Joined
Aug 19, 2023
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hello everyone,
I need a macro code that can help me to combine pdf files based on the first 11 digits of each pdf for example in the current screenshot you can see the folder contains approx 900pdfs even though the names are different but there is a common id for each employee I.e. 1000133-001, 1000212-003 and so on I want the files which have the same common id should be merged in 1 pdf naming it as the common id for example all pdfs having common id as 1000133-001 should merged and named as 1000133-001_Q4 2022 CAS.

We have office 2016

Can somebody help me with it ??
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
I am not sure anyone understands what you are trying to do in Excel. I read it three times and I am not sure...is there a screenshot somewhere?

Do you want Excel to merge multiple pdf files into a single pdf file? I do not know if that is possible.

Doug
 
Upvote 0

Forum statistics

Threads
1,215,104
Messages
6,123,113
Members
449,096
Latest member
provoking

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