DrTribos
asked on
VBA to return Heading Number of numbered paragraph
Hi All
I would like to find the heading numbers of the selected paragraph using VBA - thought this would be simple but I am flummoxed.
Eg. I am using outline numbering or heading numbering and my text looks like this:
1. Trees
1.1 Gum
1.2 Oak
1.3 Terpentine
My cursor is on Oak. I want VBA to return "1.2"
I would like to find the heading numbers of the selected paragraph using VBA - thought this would be simple but I am flummoxed.
Eg. I am using outline numbering or heading numbering and my text looks like this:
1. Trees
1.1 Gum
1.2 Oak
1.3 Terpentine
My cursor is on Oak. I want VBA to return "1.2"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.