M
Mika
Hi,
I have a Word docuent with the following paragraphs:
a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a
b b b b b b b b b b b b b b b b b
b b b b b b b b b b b b b b b b b
c c c c c c c c c c c c c c c c c c c
d d d d d d d d d d d d d d d d d
d d d d d d d d d d d d d d d d d
In other words, the 1st, 2nd, and 4th paragraphs are left indented.
For k = 1 To ActiveDocument.Paragraphs.Count
Set para = ActiveDocument.Paragraphs(k).Range
MsgBox para.ParagraphFormat.LeftIndent
Next k
When using this code, only the 2nd pararaph will get the value which is
bigger that zero. Why is that so? I have to know which paragraphs are
left indented - how can I do that?
Mika
I have a Word docuent with the following paragraphs:
a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a
b b b b b b b b b b b b b b b b b
b b b b b b b b b b b b b b b b b
c c c c c c c c c c c c c c c c c c c
d d d d d d d d d d d d d d d d d
d d d d d d d d d d d d d d d d d
In other words, the 1st, 2nd, and 4th paragraphs are left indented.
For k = 1 To ActiveDocument.Paragraphs.Count
Set para = ActiveDocument.Paragraphs(k).Range
MsgBox para.ParagraphFormat.LeftIndent
Next k
When using this code, only the 2nd pararaph will get the value which is
bigger that zero. Why is that so? I have to know which paragraphs are
left indented - how can I do that?
Mika