M
Mike Clayton
Hi,
I've been scratching my head over this for a couple of hours now, so any
help would be appreciated...
I've got some sections in a Word document which are formatted with Bullets
and Numbering so they appears as follows:
1. Section One
2. Section Two
2.1 Subsection A
2.2 Subsection B
2.2.1 Chapter 1
3. Section Three
Using a VBA macro, I'm trying to extract the heading text *including* the
bullet/numbering text (e.g. "2.2 Subsection B") to process it, but all I can
get is the heading "Subsection B" part. I've got a reference to the
Word.Range that contains the "Subsection B" text, but I can't see how to
extract the "2.2" bullet/numbering from there.
I can't find anything in the ParagrahFormat or ListFormat for the Range.
Does anyone know a way of getting this text from the section headings?
Cheers,
Mike
I've been scratching my head over this for a couple of hours now, so any
help would be appreciated...
I've got some sections in a Word document which are formatted with Bullets
and Numbering so they appears as follows:
1. Section One
2. Section Two
2.1 Subsection A
2.2 Subsection B
2.2.1 Chapter 1
3. Section Three
Using a VBA macro, I'm trying to extract the heading text *including* the
bullet/numbering text (e.g. "2.2 Subsection B") to process it, but all I can
get is the heading "Subsection B" part. I've got a reference to the
Word.Range that contains the "Subsection B" text, but I can't see how to
extract the "2.2" bullet/numbering from there.
I can't find anything in the ParagrahFormat or ListFormat for the Range.
Does anyone know a way of getting this text from the section headings?
Cheers,
Mike