excel - VBA using ubound on a multidimensional array -


ubound can return max index value of array, in multidimensional array, how specify dimension want max index of?

for example

dim arr(1 4, 1 3) variant 

in 4x3 array, how have ubound return 4, , how have ubound return 3?

ubound(arr, 1)  

and

ubound(arr, 2)  

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -