Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
VBA macro for Picture Formatting
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="MathTeacher, post: 5872791"] Since I cannot record this operation as macro, I need some help with the VBA to create the macro. I want to select a picture (object) in MSWord and format it for Square wrapping and aligned to the Right Margin. I have been through the objects and methods and cannot find what I need. I used this to at least get the wrapping I want. Sub Macro3() Dim MyShape As Shape Set MyShape = Selection.InlineShapes(1).ConvertToShape MyShape.WrapFormat.Type = wdWrapSquare MyShape.RelativeHorizontalPosition = wdRelativeHorizontalPositionMargin myShapeRange.Align msoAlignRight, True End Sub Thx, Jim [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
VBA macro for Picture Formatting
Top