Splitting Word Document based on line content
We have this working document that is curated by individual parties on both sides of an ocean. In the document is daily information on projects, news, etc and pertains to individual staff members on either side. This makes it nearly impossible to make it easy to read for any one person. I've tried my best to get everyone to move to basically *anything* else, but stubborn...
So the document is laid out like:
Topic / Person / Engineer
Content
Content
Content
<space>
Topic / Person / Engineer
<repeat above>
What I'd like to do is read line by line selecting, cutting and pasting into individual new documents based on "Person". I've run into nothing but problems. I am looping line by line using Selection.MoveDown and I am able to properly select a section, but when I need to check the current position for the next "title" marker I lose my selection.
Frustrating.
There's gotta be a simple way to do this. Any suggestions where to start?
Notes:
Doc could be 10-50 pages long
Content could be any number of things (multiple lines, paragraphs, tables)
I could put in some sort of actual delimiters. Currently there are Horizontal Lines between each section.
I hate this document...
|