
Hi Jason
Thank you again for your inquiry about automating your document process in Excel.
After reviewing your goal, here’s the proposed solution. Please note that Excel’s built-in tools can’t merge multiple PDFs into one without external software. However, we can automate everything else such as selection, conversion, and organization, saving you significant time and effort.
Important: All these steps work on the Excel desktop app for Windows. Since you selected the tag “Excel for Android,” I regret to say that VBA cannot run in a mobile environment.
Step 1: Make Your Selections
We’ll add a simple sheet called Document Options to your Excel file. This sheet will let you:
- Choose files: Select “Yes” for each document you want to include.
- Set the order: Enter numbers (1, 2, 3…) to define the sequence for the final output.
Step 2: Click “Create Documents”
On your main form, you’ll have a macro. Once your selections are ready, click this macro to start the process.
Step 3: Automation in Action
Behind the scenes, the script will:
- Prompt you to choose a destination folder.
- Export your main Excel sheet as a PDF.
- Convert selected Word files to PDF.
- Copy any existing PDFs you selected.
Step 4: Organized Output
In moments, you’ll have all files in your chosen folder, named sequentially for easy use (e.g., 01_MainReport.pdf
, 02_Terms.pdf
, 03_Appendix.pdf
). You can then email, print, or review them in the correct order.
This approach eliminates manual steps and ensures consistency. If this meets your requirements, please let me know, I’ll provide the full VBA code and a detailed setup guide.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.