Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 998 Bytes

Publisher.Column.Width.md

File metadata and controls

40 lines (28 loc) · 998 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Column.Width property (Publisher)
vbapb10.chm4980739
vbapb10.chm4980739
Publisher.Column.Width
9596b828-a5ce-e501-db59-a0e1533108b3
06/06/2019
medium

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

[!includeSupport and feedback]