Hi there,

I'm trying to change the formatting of a picture through a macro. I
have managed to change the size of the picture, but I'm unable to
change the text wrapping options.

I would like to have my graph which is 3.95" in width, aligned to the
right margin, with text (that is fully justified) wrapped on the left
of the graph.

This is what I have so far. Can you help me with the rest?

Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
With Selection
.WrapFormat.Type = wdWrapSquare
.RelativeHorizontalPosition = wdRelativeRightMargin
End With

Re: Picture Formating in a macro by Russ

Russ
Wed Nov 21 21:54:22 PST 2007

See this previous message thread.
http://cuturl.com?Picture_Layout

If you use the object browser in the VBA Editor, you might be able to see
what choices you have. The main thing is changing from inline shape to
floating shape to provide text wrap.


> Hi there,
>
> I'm trying to change the formatting of a picture through a macro. I
> have managed to change the size of the picture, but I'm unable to
> change the text wrapping options.
>
> I would like to have my graph which is 3.95" in width, aligned to the
> right margin, with text (that is fully justified) wrapped on the left
> of the graph.
>
> This is what I have so far. Can you help me with the rest?
>
> Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
> With Selection
> .WrapFormat.Type = wdWrapSquare
> .RelativeHorizontalPosition = wdRelativeRightMargin
> End With

--
Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID


Re: Picture Formating in a macro by Russ

Russ
Wed Nov 21 22:14:42 PST 2007

For more info on shapes, see:
http://cuturl.com?ConverToShape
or
http://groups.google.com/groups/search?q=converttoshape&scoring=d&

> See this previous message thread.
> http://cuturl.com?Picture_Layout
>
> If you use the object browser in the VBA Editor, you might be able to see
> what choices you have. The main thing is changing from inline shape to
> floating shape to provide text wrap.
>
>
>> Hi there,
>>
>> I'm trying to change the formatting of a picture through a macro. I
>> have managed to change the size of the picture, but I'm unable to
>> change the text wrapping options.
>>
>> I would like to have my graph which is 3.95" in width, aligned to the
>> right margin, with text (that is fully justified) wrapped on the left
>> of the graph.
>>
>> This is what I have so far. Can you help me with the rest?
>>
>> Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
>> With Selection
>> .WrapFormat.Type = wdWrapSquare
>> .RelativeHorizontalPosition = wdRelativeRightMargin
>> End With

--
Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID