WrapAroundText Property

Microsoft Word Visual Basic

WrapAroundText Property

       

Returns or sets whether text should wrap around the specified rows. Returns wdUndefined if only some of the specified rows have wrapping enabled. Can be set to True or False. Read/write Long.

expression.WrapAroundText

expression   Required. An expression that returns a Rows object.

Remarks

Setting the WrapAroundText property to False also sets the AllowOverlap property to False. Setting the AllowOverlap property to True also sets the WrapAroundText property to True.

Example

This example sets Microsoft Word to wrap text around the first table in the document.

ActiveDocument.Tables(1).Rows.WrapAroundText = True