'Declaration
Public Function GetDynamicArrayRange( _ ByVal row As Integer, _ ByVal column As Integer, _ Optional ByVal direct As Boolean, _ Optional ByVal painting As Boolean _ ) As Reference
Parameters
- row
- The row index of the cell which belong to the dynamic array.
- column
- The column index of the cell which belong to the dynamic array.
- direct
true
if the cell must be the dynamic array anchor cell.- painting
true
if the formula will be evaluated if cell is dirty.
Return Value
A Reference value represents the cell range of the dynamic array. Negative column represents the dynamic array has #SPILL error. Reference.Empty if the cell doesn't belong to the dynamic array.