Edit

Share via


Cell.Width property (Word)

Returns or sets the width of a table cell, in points. Read/write Single.

Syntax

expression.Width

expression A variable that represents a 'Cell' object.

Example

This example returns the width (in inches) of the cell that contains the insertion point.

If Selection.Information(wdWithInTable) = True Then 
 MsgBox PointsToInches(Selection.Cells(1).Width) 
End If

See also

Cell Object

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.