Default Text Wrap attribute

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
 
J

Jay Freedman

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.
 
S

Suzanne S. Barnhill

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top