M
mamue
Hi,
i try to programmatically edit every drawing object in a word (word
2000) document. i want to change the vertical alignment from
"page" (fix) to "paragraph" (relative).
--------------
For Each aShape In ActiveDocument.Shapes
aShape.Select
aShape.RelativeVerticalPosition =
wdRelativeVerticalPositionParagraph
Next aShape
--------------
now the drawing is placed with a certain space (= old distance to the
top page border) to the paragraph. this means: the new value for the
space was not calculated but taken from the old alignment.
i tried to move my drawing afterwards with the incrementLeft() method
but i don't have a value like "marginToParagraph". Any suggestions for
my situation?
thanks in advance, matthias
i try to programmatically edit every drawing object in a word (word
2000) document. i want to change the vertical alignment from
"page" (fix) to "paragraph" (relative).
--------------
For Each aShape In ActiveDocument.Shapes
aShape.Select
aShape.RelativeVerticalPosition =
wdRelativeVerticalPositionParagraph
Next aShape
--------------
now the drawing is placed with a certain space (= old distance to the
top page border) to the paragraph. this means: the new value for the
space was not calculated but taken from the old alignment.
i tried to move my drawing afterwards with the incrementLeft() method
but i don't have a value like "marginToParagraph". Any suggestions for
my situation?
thanks in advance, matthias