Written by Allen Wyatt (last updated October 16, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and 2021
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:
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 2021.
Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2021 or Microsoft 365. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word Step by Step today!
When positioning images in a document, you may want them to appear behind text, so that the text shows up over the top of ...
Discover MoreDo you struggle with getting your graphics and surrounding text to appear just the way you want it? Here are some ...
Discover MoreNeed to know how many graphics a document contains? Getting at the true number may take a little more work than it first ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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?
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.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments