Share via


Cells.Width Property

Word Developer Reference

Returns or sets the width of the table cells, in points. Read/write Long.

Syntax

expression.Width

expression   A variable that represents a Cells object.

Example

This example returns the width (in inches) of the cells within the selection.

Visual Basic for Applications
  If Selection.Information(wdWithInTable) = True Then
    MsgBox PointsToInches(Selection.Cells.Width)
End If

See Also