Excel for WinRT
Insert(Int32,XLColumn) Method


Position where the item will be inserted.
Item that will be inserted.
Inserts an XLColumn object at a specific position in the collection.
Syntax
'Declaration
 
Public Overloads Function Insert( _
   ByVal index As System.Integer, _
   ByVal col As XLColumn _
) As XLColumn
'Usage
 
Dim instance As XLColumnCollection
Dim index As System.Integer
Dim col As XLColumn
Dim value As XLColumn
 
value = instance.Insert(index, col)
public XLColumn Insert( 
   System.int index,
   XLColumn col
)

Parameters

index
Position where the item will be inserted.
col
Item that will be inserted.

Return Value

A reference to the item that was added to the collection.
Remarks

The maximum number of XLColumn objects in an XLSheet is 256. This is a limitation imposed by Excel 2003 and below.

For Excel 2007 and above, the maximum number of XLColumn objects in an XLSheet is 18,278.

See Also

Reference

XLColumnCollection Class
XLColumnCollection Members
Overload List

 

 


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

Product Support Forum  |  Documentation Feedback