How to Extract Selected Heading Sections from a Word Document
Question details
The user needs a method to split large Word documents into individual reports by extracting specific heading sections without having to do it manually.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Organizing and extracting reusable content from large, structurally complex documents containing multiple Heading 2 sections.
- Observed behavior
- Manually copying and pasting individual heading sections to create separate reports is time-consuming and difficult to manage.
Ensure your document is properly formatted using built-in heading styles (e.g., Heading 1, Heading 2) so that extraction tools and navigation panes can accurately identify the sections.
Use Quick Parts and Building Blocks for Reusable Content
Save specific heading sections as Building Blocks to quickly manage and insert them into new documents.
Microsoft Word's Quick Parts feature allows you to save chunks of text and formatting as Building Blocks. This is the easiest built-in way to manage boilerplate sections without relying on external plugins.
Highlight the specific heading and all the corresponding paragraphs you wish to extract and reuse.
Navigate to the Insert tab on the Word ribbon and click on the Quick Parts dropdown menu.
Click 'Save Selection to Quick Part Gallery'. Fill in a memorable name and description, then click OK.
Open a new blank document, go to Insert > Quick Parts, and select your saved building block to insert the extracted section.

Use a Specialized Boilerplate Add-in
Install a third-party add-in designed specifically for extracting, managing, and inserting boilerplate text and headings.
Run a VBA Macro to Extract Headings
Use a custom VBA script to automatically display headings, prompt for a selection, and copy the content to a new file.
Extract and Manage Heading Sections Easily in WPS Writer
WPS Writer provides intuitive tools like the advanced Navigation Pane and AutoText features to help you seamlessly extract, save, and reuse specific heading sections from large documents.
- 1. Open your document: Launch WPS Writer and open the large document containing your Heading 2 sections.
- 2. Enable the Navigation Pane: Go to the View tab and turn on the Navigation Pane to quickly locate your target headings without endless scrolling.
- 3. Select and Save: Highlight the required section, navigate to the Insert tab, and choose AutoText to save the text segment for future use.
- 4. Insert into a new report: Open a new WPS Writer document, click AutoText, and insert your saved heading sections instantly to build a new report.

Frequently Asked Questions
What are Word Building Blocks?
Building Blocks are predefined or custom pieces of content, such as text, formatting, and graphics, that can be easily stored and inserted into documents using the Quick Parts feature.
Why are my headings not appearing in the navigation pane or extraction macros?
Headings will only be recognized if they have been assigned a built-in heading style (e.g., Heading 1, Heading 2). Manual formatting, such as simply making text bold and increasing the font size, does not register the text as a structural heading.
Can I extract document sections without writing VBA code?
Yes, you can manually select and save sections using the Quick Parts or AutoText features, or you can install a third-party add-in to handle bulk extraction without needing to write any programming code.




