How to Automatically Convert Excel XLSX to PDF and Email Nightly
Question details
The user needs a method to automatically convert an Excel (XLSX) file into a PDF document every night and distribute the resulting PDF to several email recipients without manual intervention.

- Product
- Adobe Acrobat Pro, Microsoft Excel
- Device & OS
- not provided
- Scenario
- Setting up an unattended, recurring nightly workflow to transform spreadsheet data into a secure PDF format and share it via email.
- Observed behavior
- Adobe Acrobat Pro does not natively support unattended nightly XLSX-to-PDF conversion and email automation, prompting the need for alternative workflow tools like Power Automate or scripting.
Ensure that the target XLSX file is stored in a consistent, accessible location (like OneDrive or a local drive) and that you have access to an automation tool such as Microsoft Power Automate or Windows Task Scheduler.
Automate XLSX to PDF Conversion Using Microsoft Power Automate
Use Microsoft Power Automate to create a cloud-based scheduled flow that converts your spreadsheet to a PDF and emails it automatically, without relying on Adobe Acrobat.
Microsoft Power Automate is the most robust tool for unattended Office document workflows. Since it runs in the cloud, your computer does not even need to be powered on during the nightly conversion.
Log into Microsoft Power Automate, click 'Create', and select 'Scheduled cloud flow'. Set the flow to repeat every 1 day at your desired nightly time.
Add a new step and search for the 'Get file content' action for OneDrive for Business or SharePoint, selecting your target XLSX file.
Add the 'Convert file' action (under OneDrive for Business), map it to the file retrieved in the previous step, and select 'PDF' as the target format.
Add the 'Send an email (V2)' action. Enter the recipients' email addresses, craft your subject and body, and attach the dynamic content of the converted PDF file.

Schedule a Conversion via PowerShell and Windows Task Scheduler
For locally hosted files, use a custom PowerShell script triggered by Windows Task Scheduler to open Excel, save as PDF, and send an email.
Use WPS Office for Seamless Excel and PDF Handling
If you frequently work with spreadsheets and PDFs, WPS Office is an all-in-one, lightweight alternative to Microsoft Office and Adobe Acrobat. While backend server automation requires dedicated scripting, WPS Office provides built-in, one-click spreadsheet to PDF conversion tools for everyday users.
- 1. Open Your Spreadsheet: Launch WPS Spreadsheets and open your .xlsx file directly without formatting loss.
- 2. Export to PDF: Navigate to the 'Menu' or 'Tools' tab and select 'Export to PDF' to generate a high-quality PDF instantly.
- 3. Share with Recipients: Click the 'Share' or 'Email' button within WPS Office to attach the PDF to an email effortlessly.

Frequently Asked Questions
Why can't Adobe Acrobat Pro automate this process nightly?
Adobe Acrobat Pro is designed primarily as an interactive, user-driven application rather than an unattended backend automation tool. It lacks built-in macro scheduling features for running unattended daily triggers.
Can I use Excel VBA macros to automatically email a PDF?
Yes. You can write an Excel VBA macro that saves the active workbook as a PDF and uses Outlook to send it. However, to run unattended nightly, you still need an external trigger (like a VBScript via Task Scheduler) to open the Excel file and execute the macro.
Will these automated scripts run if my computer is asleep?
If you are using local tools like Windows Task Scheduler, your computer must be powered on and awake to execute the script. To ensure reliability without keeping your PC on, use cloud-based solutions like Microsoft Power Automate.




