Excel for WinRT
IndexOf Method (XLCellRangeCollection)


XLCellRange object to look for.
Gets the position of an XLCellRange object in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal cr As XLCellRange _
) As System.Integer
'Usage
 
Dim instance As XLCellRangeCollection
Dim cr As XLCellRange
Dim value As System.Integer
 
value = instance.IndexOf(cr)
public System.int IndexOf( 
   XLCellRange cr
)

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.
See Also

Reference

XLCellRangeCollection Class
XLCellRangeCollection Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback