Rows.AllowOverlap Property (Word)
Returns or sets a value that specifies whether the specified rows can overlap other rows.
Syntax
expression .AllowOverlap
expression A variable that represents a Rows collection.
Remarks
This property returns wdUndefined if the specified rows include both overlapping rows and nonoverlapping rows. Can be set to either True or False. Read/write Long. Setting AllowOverlap to True also sets WrapAroundText to True, and setting WrapAroundText to False also sets AllowOverlap to False.
Because HTML doesn't support overlapping tables or shapes, AllowOverlap is ignored in Web layout view.
Example
This example specifies that text wraps around the selected table and that the table doesn’t overlap any other wrapped tables.
Selection.Rows.WrapAroundText = True
Selection.Rows.AllowOverlap = False
This example specifies that the first shape in the active document can overlap other shapes.
ActiveDocument.Shapes(1).WrapFormat.AllowOverlap = True