Gets an object array from a specified range of cells.
Syntax
'Declaration
Public Overloads Function GetArray( _
ByVal As System.Integer, _
ByVal column As System.Integer, _
ByVal As System.Integer, _
ByVal columnCount As System.Integer, _
ByVal As System.Boolean _
) As System.Object(,)
'Usage
Dim instance As Worksheet
Dim row As System.Integer
Dim column As System.Integer
Dim rowCount As System.Integer
Dim columnCount As System.Integer
Dim formula As System.Boolean
Dim value() As System.Object
value = instance.GetArray(row, column, rowCount, columnCount, formula)
public System.object[,] GetArray(
System.int ,
System.int column,
System.int ,
System.int columnCount,
System.bool
)
Parameters
- row
- Row index of the cell from which to read into the array
- column
- Column index of the cell from which to read into the array
- rowCount
- Number of rows in the array
- columnCount
- Number of columns in the array
- formula
- If true, return formulas; otherwise, return values.
See Also