J
Jenny Fletcher
How do I find out the horizontal alignment of a Text Box?
e.g.
Dim objShape As Word.Shape
Dim objParagraph as Word.Paragraph
For Each objShape In objParagraph.Range.ShapeRange
If objShape.Type = Office.MsoShapeType.msoTextBox Then
'here I want to know whether the TextBox is left
'or right aligned
End If
Next
I'm using the Word 9.0 Object library.
I would be grateful for any insight.
Jenny
e.g.
Dim objShape As Word.Shape
Dim objParagraph as Word.Paragraph
For Each objShape In objParagraph.Range.ShapeRange
If objShape.Type = Office.MsoShapeType.msoTextBox Then
'here I want to know whether the TextBox is left
'or right aligned
End If
Next
I'm using the Word 9.0 Object library.
I would be grateful for any insight.
Jenny