How to retrieve the paragraph number of an auto-numbered paragraph?

R

robot

Hello,

I need a function that returns the paragraph number of an auto-numbered
paragraph.

Any help would be appreciated. (I use Word 2002.) Thank you in advance.
 
H

Helmut Weber

Hi Robot,

as this is the beginners group,
without discussing all details,
in principle like that:

With Selection.Range.ListParagraphs(1)
MsgBox .Range.ListFormat.ListString
End With

assuming, that there is a listparagraph...
 

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