title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Column.Width property (Publisher) |
vbapb10.chm4980739 |
|
|
9596b828-a5ce-e501-db59-a0e1533108b3 |
06/06/2019 |
medium |
Returns or sets a Variant that represents the width (in points) of a specified table column or shape. Read/write.
expression.Width
expression A variable that represents a Column object.
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
[!includeSupport and feedback]