Compartilhar via


Cells.DistributeWidth Method (Word)

Adjusts the width of the specified cells so that they are equal.

Syntax

expression .DistributeWidth

expression Required. A variable that represents a Cells collection.

Example

This example adjusts the width of the columns in the first table in the active document so that they're equal.

ActiveDocument.Tables(1).Columns.DistributeWidth

This example adjusts the height of the selected cells.

If Selection.Cells.Count >= 2 Then 
 Selection.Cells.DistributeWidth 
End If

See Also

Concepts

Cells Collection Object

Cells Object Members