The code I provided assumes your sample separates content by paragraph marks. As you have just discovered, your provided sample does but your REAL document doesn't.
I'm happy to revisit the code only if you provide a realistic sample (in Word format) so that I can see what you are actually dealing with. Although you are under the impression that screen captures gives me an accurate idea on what the underlying content structure is - I can assure you it doesn't. The sample needs to include examples of your bulleted list elements which should be included with the parent paragraph.
The spacing issue is easy enough to solve but the 'separation of related things' issue needs to be addressed after looking at structure of your docs.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|