Excel for WinRT
GetCell Method


Index of the row.
Index of the column.
Gets a reference to a cell at the specified coordinates or null if the cell doesn't exist.
Syntax
'Declaration
 
Public Function GetCell( _
   ByVal rowIndex As System.Integer, _
   ByVal colIndex As System.Integer _
) As XLCell
'Usage
 
Dim instance As XLSheet
Dim rowIndex As System.Integer
Dim colIndex As System.Integer
Dim value As XLCell
 
value = instance.GetCell(rowIndex, colIndex)
public XLCell GetCell( 
   System.int rowIndex,
   System.int colIndex
)

Parameters

rowIndex
Index of the row.
colIndex
Index of the column.

Return Value

A reference to the XLCell object at the specified coordinates, or null if there is no cell at the specified position.
Remarks

To populate new sheets, use the C1XLBook.Sheets indexer instead.

The indexer will automatically create new rows, columns, and cells as needed, and will never return null.

See Also

Reference

XLSheet Class
XLSheet Members

 

 


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

Product Support Forum  |  Documentation Feedback