Default Text Wrap attribute

  • Thread starter Thread starter Charles Freeman
  • Start date Start date
C

Charles Freeman

Word 2000 and Word XP:

How can I change the default insert mode when inserting a floating graphic
to "on top of text"? I have a form I fill out regularly where I have to cut
and paste pictures onto the form. This works well as long as the text wrap
attribute is "On top", but I have to change every one every time. In the
zillions of customization options I don't see this one.

Many thanks,

Charlie
 
Hi, Charlie,

Put this macro in the template that form is based on (see
http://www.mvps.org/word/FAQs/MacrosVBA/CreateAMacro.htm for instructions):

Sub EditPaste()
Dim oIShp As InlineShape
Dim oFShp As Shape

With Selection
.Paste
.MoveStart wdCharacter, -1
End With

If Selection.InlineShapes.Count > 0 Then
Set oIShp = Selection.InlineShapes(1)
Set oFShp = oIShp.ConvertToShape
With oFShp
.WrapFormat.Type = wdWrapNone
.ZOrder msoBringInFrontOfText
End With
End If
Selection.Collapse wdCollapseEnd
End Sub

This intercepts the Edit > Paste command (including the Ctrl+V shortcut),
and if the thing being pasted is a picture, it puts it in front of the text.
 
In Word 2002, it should be sufficient to change the default wrapping on the
Edit tab of Tools | Options.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top