How do I find the number for a numbered list programmatically

D

Doug

I am having problems where numbered lists don't start at
the number 1. I understand about how this is a feature,
and don't need any information about how to restart or
reset the numbering. I want to programmatically check to
make sure that whenever I have a numbered list, I can
confirm that the first entry in the list has the number 1,
not 4 or 10. I can't find any method of doing this. Can
anybody give me a hand.

Thanks.
 
J

Jezebel

The properties you're looking for are Paragraph..ListFormat.ListValue and
Paragraph.ListFormat.ListString

The ListValue is the number of the item in the list; ListString is how that
number is actually displayed (ie if the value is 3, the string might be '3.'
, 'iii', 'c)', etc. If the list is bulleted the Value is always 1.
 
D

Doug

The item paragraph(i).Range.ListFormat.ListValue was
exactly what I was looking for. Thanks.
-----Original Message-----
The properties you're looking for are
Paragraph..ListFormat.ListValue and
 

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