Accessing numbering from a macro

J

Jorge

Hello

Is it possible to access the numbering of a heading from a VBA macro? I've
already tried but the "Selection" object ignores the numbering.

Cheers

Jorge
 
J

Jezebel

Explore the ListFormat object --- .Value gives you the numeric value of the
number; .ListString gives you the representation.

Eg

Selection.Range.ListFormat.ListString
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top