Thread: [Solved] Copy from a huge document
View Single Post
 
Old 09-08-2014, 11:40 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If your document has Section breaks before these headings, it's easy enough to tell Word via VBA to copy an entire Section; otherwise the code would have to basically do as you're doing now - find the heading, scan forwards till the next heading, then copy everything from the start of the first heading to the start of the second heading. If you can clarify your document's structure, a suitable macro could be written.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote