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

Columns Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.