Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2007

Tip: Looking for answers? Try searching our database.

Picture Formating in a macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
star-dust - 22 Nov 2007 00:12 GMT
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 - 22 Nov 2007 05:54 GMT
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,
>
[quoted text clipped - 13 lines]
>         .RelativeHorizontalPosition = wdRelativeRightMargin
>     End With

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID

Russ - 22 Nov 2007 06:14 GMT
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
[quoted text clipped - 20 lines]
>>         .RelativeHorizontalPosition = wdRelativeRightMargin
>>     End With

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.