I have a couple of basic questions about using arrays in VBA, which I have not found the answer to.
Firstly, is there a way to specify a one dimensional row vector in Excel VBA?
I am new to using arrays in Excel VBA, and have been defining row and column vectors as two dimensional arrays, as in the examples below
'Define a Local Row Vector
ReDim aArray(1 to iCntRows, 1 to 1)
'Define a Local Column Vector
ReDim aArray(1 to 1, 1 to iCntCols)
So secondly, is this best practice? Should I be using a one dimensional array instead?
Thanks Tim