SetArrayFormula Method (Worksheet)
In This Topic
Sets an array formula in a specified cell area in the specified sheet area.
Syntax
'Declaration
Public Sub SetArrayFormula( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer, _
ByVal As String _
)
'Usage
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
Dim formula As String
instance.SetArrayFormula(row, column, rowCount, columnCount, formula)
public void SetArrayFormula(
int ,
int column,
int ,
int columnCount,
string
)
Parameters
- row
- The start row index.
- column
- The start column index.
- rowCount
- The number of rows in all areas.
- columnCount
- The number of columns in all areas.
- formula
- The formula to place in the specified cell.
See Also