P
Patrick386
Hello!
How come that when I loop on a document's styles, I do not find all the styles as they are displayed in the Styles and Fomratting pan?
for instance if the user applyes the style "Normal" and then changes the alignment or the font color, the pan displays:
"Normal"
"Normal + Center"
but when I make loop on all the styles existing in the document, I only see "Normal"?
For i=1 to ThisDocument.Styles.Count
msgBox ThisDocument.Styles(i).NameLocal
Next i
How can get all of them?
Thanks in advance for any suggestion!
How come that when I loop on a document's styles, I do not find all the styles as they are displayed in the Styles and Fomratting pan?
for instance if the user applyes the style "Normal" and then changes the alignment or the font color, the pan displays:
"Normal"
"Normal + Center"
but when I make loop on all the styles existing in the document, I only see "Normal"?
For i=1 to ThisDocument.Styles.Count
msgBox ThisDocument.Styles(i).NameLocal
Next i
How can get all of them?
Thanks in advance for any suggestion!