![]() XFileName = InputBox("Enter file name here:", "KuTools for Word") Set xDlg = Application.FileDialog(msoFileDialogFolderPicker) VBA: Export selection as PDF Sub SavePartsOfDocumentToPDF() Click Insert > Module, copy and paste below code to the Module script. Select the contents you want to save as single PDF, press Alt + F11 key to open Microsoft Visual Basic for Applications window.Ģ. ![]() ![]() If you are familiar with macro code, you can try below VBA.ġ. In the Options dialog, check Selection option, click OK to go back to Save As dialog. 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.ģ. Select the contents you want to export as PDF, click File > Save As > Browse.Ģ. In Word, you can use its built-in Save As function to export selection as PDF file.ġ. But in some cases, you may just want to export selected pages as PDF file, how can you do? In this article, I introduce some methods can solve this problem.Įxport selected pages to pdf by Save As functionĮxport selected pages to pdf by Kutools for Word How to export selected pages to pdf in Word document?Īs we known, the Word document can be saved as a PDF file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |