Log in  \/ 
Register  \/ 


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()
    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
    End If
    Exit Sub
    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 60 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 Word Productivity Tools


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

  • Complicated and repeated operations can be done one-time processing in seconds.
  • Insert multiple images across folders into Word document at once.
  • Merge and combine multiple Word files across folders into one with your desired order.
  • Split the current document into separate documents according to heading, 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
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    jgall7804 · 6 days ago
    is there a way to name the files from text in the document instead of page 1, page 2 ,etc?
  • To post as a guest, your comment is unpublished.
    Nico · 20 days ago
    VBA code does not work. Keeps saying "enter right page number. Word document is 3 pages long. I added in 1 and 3 in the messageboxes and got the error.
    • To post as a guest, your comment is unpublished.
      Sunny · 10 days ago
      Hi, Nico, I have try the code again, it works in my version window 10 64 2016, which version you use?