fiberboysa
Board Regular
- Joined
- Apr 25, 2012
- Messages
- 106
- Office Version
- 365
- Platform
- Windows
Hi All and hope you are doing well,
I have a PDF file that contains 500+ pages containing a unique number on each page. First I wanted to sort them with Acrobat PDF Pro DC Actions/JavaScript but its hard and I don't understand Java at all. I also want to clear here that I get this PDF from other source I do not generate it. The person who generate it is totally not interested to help me in this, and I don't know the reason for it as well. I just receive it and it's my headache to reorder them. And this work is repetitive means I receive these PDFs several times in a month.
I have tried to do it with acrobatusers.com/assets/uploads/actions/… which is available at acrobatusers.com/actions-exchange. But problem is that it extracts pages randomly and its code is not understandable to me.
Then I realized that I can open PDFs in MS Word 365 as well and when I opened the same doc in MS Word 365 it is searchable.
Now I want a VBA code or Acrobat DC Pro JavaScript/Action to rearrange these pages according to a list that I provide in XLSX or CSV or TXT etc. format and save it as a new file. Please have a look on following as example.
File Before Sorting Pages
Sort List
File After Sorting Pages
I have a PDF file that contains 500+ pages containing a unique number on each page. First I wanted to sort them with Acrobat PDF Pro DC Actions/JavaScript but its hard and I don't understand Java at all. I also want to clear here that I get this PDF from other source I do not generate it. The person who generate it is totally not interested to help me in this, and I don't know the reason for it as well. I just receive it and it's my headache to reorder them. And this work is repetitive means I receive these PDFs several times in a month.
I have tried to do it with acrobatusers.com/assets/uploads/actions/… which is available at acrobatusers.com/actions-exchange. But problem is that it extracts pages randomly and its code is not understandable to me.
Then I realized that I can open PDFs in MS Word 365 as well and when I opened the same doc in MS Word 365 it is searchable.
Now I want a VBA code or Acrobat DC Pro JavaScript/Action to rearrange these pages according to a list that I provide in XLSX or CSV or TXT etc. format and save it as a new file. Please have a look on following as example.
File Before Sorting Pages

Sort List

File After Sorting Pages
