H
hlngus
I'm wanting to force the text of the line following any shapes to be
centered.
My feeble attempt is below.
How can I accomplish this?
Here's a snippet:
If ActiveDocument.Shapes.Count <> 0 Then
For i = 1 To ActiveDocument.Shapes.Count
If left(ActiveDocument.Shapes(i).name, 4) = "PICT" _
Then
ActiveDocument.Shapes(i).Select
Selection.HomeKey unit:=wdLine
With Selection.Paragraphs
.Alignment = wdAlignParagraphCenter
End With
End If
Next
End If
Thanks.
centered.
My feeble attempt is below.
How can I accomplish this?
Here's a snippet:
If ActiveDocument.Shapes.Count <> 0 Then
For i = 1 To ActiveDocument.Shapes.Count
If left(ActiveDocument.Shapes(i).name, 4) = "PICT" _
Then
ActiveDocument.Shapes(i).Select
Selection.HomeKey unit:=wdLine
With Selection.Paragraphs
.Alignment = wdAlignParagraphCenter
End With
End If
Next
End If
Thanks.