I have been trying to figure out how to read paragraph content which exists a heading. The heading itself is part of the table of contents. The heading will have a particular style (say Heading 1).
For example: "Introduction" is a entry in Table of content with style Heading 1. I want to read content under heading "Introduction" but not any more content (i.e not content under sub headings of Introduction)
I have been trying to do this using styles/style, TableofContent, Paragraphs/Paragraph,Range. Still cannot come up with a effective solution.
I am working in VB.NET in VS 2010. I am using the word 2007 object model (office 2007 interop) as described @ http://msdn.microsoft.com/en-us/library/bb244515(v=office.12)
Any pointers would be appreciated
regards Sameer
p.Style = "Heading 1"
not suit? – Fionnuala