I'm currently handling a lot of data with arrays in Excel VBA. Until now source data containing blank cells have been treated as zero, but now I'll have to try and distinguish between blank cells and cells with zeroes in them.
Is it possible to make the array output nothing rather than zero? Such that...
aArray(5) as double
Range("A1:E5") = aArray()
Would only output values in the cells of the range that correspond to array elements that have been filled with something? If the array is empty I'd still get [0,0,0,0,0]