PDF Conversion Issues

How to Export Every Excel Worksheet as a Separate PDF on Mac

Natalie TaylorNatalie Taylor Nov 3, 2026 868 views

Question details

The user needs to export a large number of Excel worksheets into individual PDF files, with each PDF file automatically named after its respective worksheet tab.

How to Export Every Excel Worksheet as a Separate PDF on Mac
Product
Microsoft Excel 365
Device & OS
Mac
Scenario
Exporting an Excel workbook containing dozens of worksheets (e.g., 65 sheets) into separate PDF files without manually saving each one.
Observed behavior
Excel for Mac lacks a built-in, one-click feature to batch export all worksheets as separate PDFs, making the manual export process highly time-consuming.
Before you start

Ensure your Excel workbook is fully saved and that you have enabled the Developer tab in Excel preferences if you plan to use a VBA macro for automation.

Solution 1Recommended

Automate PDF Export Using a VBA Macro

Use a Visual Basic for Applications (VBA) script to automatically loop through every worksheet and save each one as a separate PDF named after the tab.

Because Excel for Mac does not offer a native batch export feature for separate PDFs, using a VBA macro is the most efficient method for processing a large number of sheets at once.

1
Enable the Developer Tab

Go to Excel > Preferences > Ribbon & Toolbar, and check the 'Developer' box in the main tabs list.

2
Open the VBA Editor

Click the Developer tab on the Excel ribbon and select 'Visual Basic'.

3
Insert a New Module

In the VBA editor, right-click on your workbook project in the left pane, select 'Insert', and choose 'Module'.

4
Add the Macro Code

Paste a standard VBA loop script that iterates through 'ThisWorkbook.Sheets', defines a file path string using 'ws.Name', and executes 'ws.ExportAsFixedFormat Type:=xlTypePDF' for each sheet.

5
Run the Macro

Close the VBA editor, return to your Excel workbook, click 'Macros' on the Developer tab, select your newly created macro, and click 'Run'.

Automate PDF Export Using a VBA Macro
Mac Sandboxing Limitations: On modern macOS versions, Excel's sandboxing may prompt you to grant file access permissions the first time the macro attempts to save a PDF to your chosen folder.
Efficient PDF Export Tool

Simplify Excel to PDF Conversions with WPS Office

WPS Office provides a highly integrated and user-friendly interface for handling Excel-to-PDF conversions. With its advanced built-in PDF toolkit, you can easily manage, split, or export your spreadsheet data into high-quality PDFs without relying on complex VBA scripts.

  1. 1. Open Your Workbook: Launch WPS Spreadsheets and open your multi-sheet workbook.
  2. 2. Export to PDF: Click on 'Menu' in the top-left corner and select 'Export to PDF'.
  3. 3. Configure Export Settings: Choose whether to export the entire workbook into a single PDF or select specific active sheets.
  4. 4. Split PDF (Optional): If you exported the entire workbook as a single file, open it in the built-in WPS PDF tool and use the 'Split PDF' feature to instantly break it down into separate files.
Free and lightweight alternative to Microsoft Office.Fully compatible with Microsoft Excel (.xlsx) formats.Built-in premium PDF toolkit to easily edit, merge, and split PDFs.Intuitive interface for faster document exporting and management.
microsoft office alternative - wps office

Frequently Asked Questions

Can I export an entire Excel workbook as a single PDF on Mac?

Yes. Go to File > Save As, select PDF as the file format, and under the export options, choose 'Workbook' instead of 'Active Sheet'. This will save all tabs into one continuous PDF file.

Why do I get a permission error when running the VBA macro on Mac?

Excel for Mac operates in a sandboxed environment for security. You may need to grant file system access when the macro tries to save files to a specific directory. To minimize issues, try saving the PDFs to a trusted location like the Mac Documents folder.

Will the PDF formatting match my Excel print preview?

Yes, exporting to PDF relies entirely on your Page Layout settings. Ensure you have properly configured the print area, margins, and scaling for each worksheet before exporting to guarantee the resulting PDF looks correct.