R
Rod
I want to be able to read using code the numbers that Word assigns to
headings.
e.g. Say I have the level 2 heading
2.7 Age Profile
I want to be able to capture the 2.7
Code like the following
If myParagraph.Format.Style = "Heading 2" Then
Debug.Print myParagraph.Range.Text
End If
Just prints out "Age Profile"
Any hints very much appreciated
Rod
headings.
e.g. Say I have the level 2 heading
2.7 Age Profile
I want to be able to capture the 2.7
Code like the following
If myParagraph.Format.Style = "Heading 2" Then
Debug.Print myParagraph.Range.Text
End If
Just prints out "Age Profile"
Any hints very much appreciated
Rod