Skip to content

Latest commit

 

History

History
58 lines (32 loc) · 1.44 KB

Word.Rows.AllowOverlap.md

File metadata and controls

58 lines (32 loc) · 1.44 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Rows.AllowOverlap property (Word)
vbawd10.chm155975702
vbawd10.chm155975702
Word.Rows.AllowOverlap
2a5205d6-dd9c-6c12-38a3-37633cfd644b
06/08/2017
medium

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

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

See also

Rows Collection Object

[!includeSupport and feedback]