Muokkaa

Jaa


Cells.Width property (Word)

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

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.

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

See also

Cells Collection 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.