Edit

Share via


Cell.Range property (Word)

Returns a Range object that represents the portion of a document that's contained in the specified object.

Syntax

expression.Range

expression A variable that represents a Cell object.

Example

This example copies the contents of the first cell in the first row in the first table.

If ActiveDocument.Tables.Count >= 1 Then _ 
 ActiveDocument.Tables(1).Rows(1).Cells(1).Range.Copy

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.