Number Style from word in vb
I am using vb6 to read paragraph from microsoft word, my problem is i dont know how to get the name of the style of Number List. eg;
in my xxx.doc, i have paragraph below:
1. First Paragraph
a. Second Paragaph
i. Third paragraph
ii. Fourth paragraph
b. fifth paragraph
...
in my program i would like to know the style of the List lever, i don't know if its something like wdListNumberStyleLowercaseRoman?!! what i want to do in my program is,
for each paragraph in doc.paragraph
' i am not really sure the code below, but this is the critical part
if paragraph.range.listnumberStyle = lowerCaseRoman then
msgbox "Lower Case Roman"
else
...
end if
next
Hope someone can help me here, i really need your help please :) Thank you.
|