TextColumn.Width property (Word)

Returns or sets the width, in points, of the specified text columns. Read/write Long.

Syntax

expression.Width

expression A variable that represents a 'TextColumn' object.

Example

This example formats the section that includes the selection as three columns. The For Each loop is used to display the width of each column in the TextColumns collection.

Selection.PageSetup.TextColumns.SetCount NumColumns:=3 
For Each acol In Selection.PageSetup.TextColumns 
 MsgBox "Width= " & PointsToInches(acol.Width) 
Next acol

See also

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