Table of contents
TOC
Collapse the table of content
Expand the table of content

Column.Width Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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
© 2018 Microsoft