Partager via


Columns.DistributeWidth Method (Word)

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

Syntax

expression .DistributeWidth

expression Required. A variable that represents a Columns 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

Columns Collection Object

Columns Object Members