VBA for Word 2010 - How to copy text between a two headings in Word
Hi All
My apologies if the the title doesn't really match what I'm about to ask help for but I'm not sure how to succintly explain the following scenario:
I need to use VBA (I have some knowledge with Excel) to, whilst in an active word document, find two headings and select then copy the text that is between them e.g.
First Heading: "Summary"
Text: "Could be any length and with all sorts of fonts, sizes etc" >>> This is what I need to copy
Second Heading: "Conclusion"
The "Headings" are constant in each Word document but also exist in the Table of Contents so Pages 1 & 2 need to be bypassed. Once copied, the text (preferably including format etc) would be pasted into an Excel cell. I have 1700+ word docs to work with and the text between each heading can always change so this is something I would greatly appreciate any form of help wih. I've been trawling the web for 3 days now and yet to discover code that works.
Can you please help a fellow who is always willing to help others out where he can?
Thank you for your consideration