Turning Off Overlapping, by Default

Written by Allen Wyatt (last updated October 16, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


1

Len routinely places all of his figures within text boxes. He formats the text boxes so they do not overlap with each other. (He displays the Layout dialog box and, on the Position tab, clears the Allow Overlap check box.) Len would like this setting to be cleared by default, but it always seems to default to allow overlapping. He wonders if there is a way to turn it off entirely.

Unfortunately, there seems to be no way to turn it off entirely—Word just defaults to allow overlapping. You can, however, create a couple of macros that may be helpful. The first sets the overlap setting for a selected text box:

Sub AllowOverlapFalse()
    Selection.ShapeRange.WrapFormat.AllowOverlap = False
End Sub

All you need to do is to create your text box, select it, and then run the macro. You might even want to assign it to a shortcut key so that you can do the task quickly and easily.

The other approach is akin to this first one, but it works on all the text boxes in the document. Thus, you could create all the text boxes you want and then run this macro.

Sub FixTextBoxOverlap()
    Dim s As Shape

    For Each s In ActiveDocument.Shapes
        If s.Type = msoTextBox Then
            s.WrapFormat.AllowOverlap = False
        End If
    Next
End Sub

As you can tell from these macros, text boxes are treated like shapes in the VBA world. This macro makes sure, in stepping through all the defined shapes, that it only affects those that are actually text boxes.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13631) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Printing a Key Assignment List

When you create custom shortcut keys in Word, you may (at some point) want to get a printout of what those key ...

Discover More

Batch Template Changes

Changing the template associated with a couple of documents is easy, but what if a whole directory needs to be changed? ...

Discover More

Freezing Cell Size when Inserting Pictures

Insert a picture into a table cell, and you may quickly find that the table is no longer the size you expected. Here's ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Positioning Graphics Evenly

If you have some graphics inserted in your document, you may want to adjust the horizontal space between those graphics. ...

Discover More

Removing Pictures from Multiple Files

Working with a single document is easy. Working with thousands of documents becomes much harder. If you need to get rid ...

Discover More

Scaling Graphics in a Macro

If you need to make sure that the graphics in a document are all scaled similarly, you'll love the macros presented in ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four less than 7?

2020-08-28 11:27:07

Kathy

What if you wanted to make the change for all images regardless of text boxes - never allow any image to overlap?


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.