Returns true and sets row1, col1, row2 and col2 to the zero based upper-left and lower-right row and column indexes of the array formula if the formula currently being evaluated is an array formula, or returns false and leaves the parameters unchanged if the formula currently being evaluated is not an array formula.
'Declaration
Function GetArrayFormulaInfo( _
ByRef As System.Integer, _
ByRef As System.Integer, _
ByRef As System.Integer, _
ByRef As System.Integer _
) As System.Boolean
'Usage
Dim instance As IArguments
Dim row1 As System.Integer
Dim col1 As System.Integer
Dim row2 As System.Integer
Dim col2 As System.Integer
Dim value As System.Boolean
value = instance.GetArrayFormulaInfo(row1, col1, row2, col2)
System.bool GetArrayFormulaInfo(
ref System.int ,
ref System.int ,
ref System.int ,
ref System.int
)
function GetArrayFormulaInfo(
var : System.Integer;
var : System.Integer;
var : System.Integer;
var : System.Integer
): System.Boolean;
function GetArrayFormulaInfo(
: System.int,
: System.int,
: System.int,
: System.int
) : System.boolean;
System.bool GetArrayFormulaInfo(
ref System.int ,
ref System.int ,
ref System.int ,
ref System.int
)
System.bool GetArrayFormulaInfo(
System.int% ,
System.int% ,
System.int% ,
System.int%
)
Parameters
- row1
- Will be set to the zero based upper row of the array formula currently being evaluated, or left unchanged if the formula currently being evaluated is not an array formula.
- col1
- Will be set to the zero based left column of the array formula currently being evaluated, or left unchanged if the formula currently being evaluated is not an array formula.
- row2
- Will be set to the zero based lower row of the array formula currently being evaluated, or left unchanged if the formula currently being evaluated is not an array formula.
- col2
- Will be set to the zero based right column of the array formula currently being evaluated, or left unchanged if the formula currently being evaluated is not an array formula.
Return Value
true if the formula currently being evaluated is an array formula, or false if the formula currently being evaluated is not an array formula.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2