#1
|
|||
|
|||
VBA for extracting parts of text out of a large document
Hello,
I have a large word document (2100 pages) with 80 headings and tens of subtitles. Is there a way to extract exactly one subtitle and the corresponding text out of the entire document? In the end I want to extract in a separate document each chapter that contains: subtitle and corresponding text and not do it manually. |
#2
|
|||
|
|||
Search for "split document."
Generally, this requires a section break before each part you want split and no other section breaks. It can also be done based on a particular style used at the start of each part. |
#3
|
|||
|
|||
The question was how can I export each individual chapter (out of the 2167 page document) in an entire new .docx so that I have 80+ .doc.
|
#4
|
||||
|
||||
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Thank you so very much for your responses. You really helped!
|
Tags |
extract text, separate documents, vba |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
extracting specific sections into a new document | Rover | Word VBA | 2 | 08-03-2020 03:59 PM |
Help on Extracting Outline Level Of Tracked Changes To New Document | doeclapton | Word VBA | 1 | 07-24-2019 07:01 AM |
How to manage (display/hide) parts of the text within a document via table of content | Curby | Word | 2 | 06-30-2016 12:29 AM |
How to merge text boxes in a large imported document | boatfly | Word | 3 | 04-20-2016 06:15 AM |
Repeating text using quick parts document property, but with different formatting and capitalization | Ricky Wall | Word | 1 | 02-09-2016 05:27 PM |