Excel for WinRT
Insert Method (XLCellRangeCollection)


Position where the object will be inserted.
Object to insert in the collection.
Inserts an XLCellRange object at a specific position in the collection.
Syntax
'Declaration
 
Public Function Insert( _
   ByVal index As System.Integer, _
   ByVal cr As XLCellRange _
) As XLCellRange
'Usage
 
Dim instance As XLCellRangeCollection
Dim index As System.Integer
Dim cr As XLCellRange
Dim value As XLCellRange
 
value = instance.Insert(index, cr)
public XLCellRange Insert( 
   System.int index,
   XLCellRange cr
)

Parameters

index
Position where the object will be inserted.
cr
Object to insert in the collection.

Return Value

A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another cell range already in the collection).
See Also

Reference

XLCellRangeCollection Class
XLCellRangeCollection Members

 

 


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

Product Support Forum  |  Documentation Feedback