Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to split a Word document and save as separate PDF file?

In Word, you can save the whole document to a PDF file, but have you ever tried to split the document and then save the pages as separate PDF file? In this article, I will introduce the methods on solving this job quickly.

Split a Word document and save as separate PDF file with VBA

Split a Word document to separate files by pages/heading1/ break



Split a Word document and save as separate PDF file with VBA

Here the VBA code can help you directly split a Word document by pages then save as separate PDF files.

1. Press Alt + F11 keys to enable Microsoft Visual Basic for Applications window.

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

VBA: Save Word as separate PDF

Sub SaveAsSeparatePDFs()
'UpdatebyExtendoffice20181120
    Dim I As Long
    Dim xDlg As FileDialog
    Dim xFolder As Variant
    Dim xStart, xEnd As Integer
    On Error GoTo lbl
    Set xDlg = Application.FileDialog(msoFileDialogFolderPicker)
    If xDlg.Show <> -1 Then Exit Sub
    xFolder = xDlg.SelectedItems(1)
    xStart = CInt(InputBox("Start Page", "KuTools for Word"))
    xEnd = CInt(InputBox("End Page:", "KuTools for Word"))
    If xStart <= xEnd Then
        For I = xStart To xEnd
            ActiveDocument.ExportAsFixedFormat OutputFileName:= _
                xFolder & "\Page_" & I & ".pdf", ExportFormat:=wdExportFormatPDF, _
                OpenAfterExport:=False, OptimizeFor:=wdExportOptimizeForPrint, Range:= _
                wdExportFromTo, From:=I, To:=I, Item:=wdExportDocumentContent, _
                IncludeDocProps:=False, KeepIRM:=False, CreateBookmarks:= _
                wdExportCreateHeadingBookmarks, DocStructureTags:=True, _
                BitmapMissingFonts:=False, UseISO19005_1:=False
        Next
    End If
    Exit Sub
lbl:
    MsgBox "Enter right page number", vbInformation, "KuTools for Word"
End Sub

3. Press F5 key, in Browse dialog, select a folder to place the PDF files.
doc split save pdf 1

4. Click OK, then enter the page numbers you want to split start and end.

doc split save pdf 2 doc split save pdf 3

 

5. Click OK. Now the pages have been saved as separate PDF files.
doc split save pdf 4


Split a Word document to separate files by pages/heading1/ break

If you just want to split a Word document to separate Word file, you can try Kutools for Word’s Split utility, it can split a document by heading1, page break, section break or pages as you need.

Kutools for Word, with more than 100 handy functions, makes your jobs easier. 
Go to Download
Free Trial 45 days

After installing Kutools for Word, please do as below:(Free Download Kutools for Word Now!)

1. Click Kutools Plus > Split.
doc split save pdf 5

2. In the Split Document dialog, choose a folder to place the documents, and select the one type you want to split by from Split by drop-down list.
doc split save pdf 6

3. Click OK. then the folder will be opened automatically after splitting. Now the document has been split into multiple documents.
doc split save pdf 7


Tabbed browsing & editing multiple Word documents/Excel workbooks as Firefox, Chrome, Internet Explore 10!

You may be familiar to view multiple webpages in Firefox/Chrome/IE, and switch between them by clicking corresponding tabs easily. Here, Office Tab supports similar processing, which allow you to browse multiple Word documents or Excel workbooks in one Word window or Excel window, and easily switch between them by clicking their tabs.
Click for free trial of Office Tab!

Browse multiple word documents in one window as Firefox

Recommended Productivity Tools

shot kutools word kutools tab 1180x121
shot kutools word kutools plus tab 1180x120
 

Kutools For Word - More Than 100 Advanced Features For Microsoft Word, Save Your 60% Time

  • Complicated and repeated operations can be done a one-time processing in seconds.
  • Insert multiple images across folders into Word document at once.
  • Merge and combine multiple Word files across folders in to one with your desired order.
  • Split the current document into separate documents according to heading 1, section break or other criteria.
  • Convert files between Doc and Docx, Docx and PDF, collection of tools for common conversions and selection, and so on...
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.