IndexOf Method (XLCellRangeCollection)
Gets the position of an
XLCellRange object in the collection.
'Declaration
Public Function IndexOf( _
ByVal As XLCellRange _
) As System.Integer
Parameters
- cr
- XLCellRange object to look for.
Return Value
The position of the object in the collection, or -1 if the object is not a member of the collection.