Column.Width property (Publisher)
Returns or sets a Variant that represents the width (in points) of a specified table column or shape. Read/write.
Syntax
expression.Width
expression A variable that represents a Column object.
Example
This example creates a new table and sets the height and width of the second row and column, respectively.
Sub SetRowHeightColumnWidth()
With ActiveDocument.Pages(1).Shapes.AddTable(NumRows:=3, _
NumColumns:=3, Left:=80, Top:=80, Width:=400, Height:=12).Table
.Rows(2).Height = 72
.Columns(2).Width = 72
End With
End Sub
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.