CellRange.Item method (Publisher)

Returns an individual Cell object in the specified CellRange collection.

Syntax

expression.Item (Index)

expression A variable that represents a CellRange object.

Parameters

Name Required/Optional Data type Description
Index Required Long The number of the object to return.

Return value

Cell

Example

This example returns the first cell from a CellRange collection.

Dim cllTemp As Cell 
 
Set cllTemp = ActiveDocument.Pages(Index:=1).Shapes(1).Table.Cells.Item(Index:=1)

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.