I have created a UDF in Excel VBA that returns a 2 dimensional array, in certain cases the length of the array should be zero. How do you define a zero length array?
The below returns a compiler error;
Dim empty_array(1 to 1,1 to -1)
I have created a UDF in Excel VBA that returns a 2 dimensional array, in certain cases the length of the array should be zero. How do you define a zero length array?
The below returns a compiler error;
Dim empty_array(1 to 1,1 to -1)