๏ปฟ

Exporting as pdf from word on mac doesnt work

While it's common knowledge that a Word document can be saved as a PDF file, there are times when you might only need to export selected pages rather than the entire document. Whether you're sharing specific sections or creating focused PDFs, knowing how to export only the selected content can be very useful.

In this article, we introduce several methods to help you export selected pages of a Word document to a PDF file:

Export selected pages to PDF with Save As function Export selected pages to PDF using VBA Export selected pages to PDF with Kutools for Word

Export selected pages to PDF with Save As function

In Word, you can use its built-in Save As function to export selection as PDF file.

File menu with Save As option selected, followed by Browse option highlighted

1. Select the contents you want to export as PDF, click File > Save As > Browse.

Save As dialog

2. In the Save As dialog, select a folder and name for the new file, choose PDF in the Save as type drop-down list, then click Options.

Options dialog

3. In the Options dialog, check Selection option, click OK to go back to Save As dialog.

4. Click Save.

Kutools for Word : The Ultimate Writing Toolkit with 100+ Features!

Export selected pages to PDF using VBA

If you are familiar with macro code, you can try below VBA.

1. Select the contents you want to save as single PDF, press Alt + F11 key to open Microsoft Visual Basic for Applications window.

2. Click Insert > Module, copy and paste below code to the Module script.

VBA: Export selection as PDF

Sub SavePartsOfDocumentToPDF() 'UpdatebyExtendoffice20181115 Dim xFolder As Variant Dim xDlg As FileDialog Dim xFileName As String Set xDlg = Application.FileDialog(msoFileDialogFolderPicker) If xDlg.Show <> -1 Then Exit Sub xFolder = xDlg.SelectedItems(1) xFileName = InputBox("Enter file name here:", "KuTools for Word") Selection.ExportAsFixedFormat xFolder & "\" & xFileName, wdExportFormatPDF, _ True, wdExportOptimizeForPrint, False, wdExportDocumentContent, True, True, wdExportCreateNoBookmarks, _ True, True, False End Sub

Browse dialog

3. Press F5 key to run the code. In the popping out Browse dialog, choose a folder to place the new file.

Dialog with input box to enter a name for the PDF file

4. Click OK, a dialog pops out for you to name the file.

5. Click OK. The new file will be opened automatically after saved successfully.

Note: Your selected pages should be consecutive.

Export selected pages to PDF with Kutools for Word

If you want to export selected pages to PDF or other file types, you can use the Export Range to File utility of Kutools for Word.

After installing Kutools for Word, please do as below:

Export Range to File option on the ribbon

1. Select the contents, click Kutools Plus > Export/Import > Export Range to File.

Export Range to File dialog

2. In the Export Range to File dialog, select a folder to save the pdf file in Save path section, then check PDF file or other type of file you need in File Type section, in File Options section, check the option as you need.

Dialog with input box to enter a name for the PDF file

3. Click Ok. Name the pdf file in the popping up Kutools for Word dialog.

Then the selection has been exported as new PDF file.

Tip: the file will be automatically opened if you check the Open the file after exporting checkbox.

Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

๐Ÿงน Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group.

โž• Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group.

๐Ÿ” Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features.

Kutools and Kutools Plus tabs on <a href=the Word Ribbon" width="2731" height="131" />

๐Ÿ‘‰ Want to try these features? Download Kutools for Word now! ๐Ÿš€ Free Download Buy Now Learn More about Kutools for Word

Best Office Productivity Tools

Kutools for Word - 100+ Tools for Word