Hi.
I am trying to determine how many elements are in arrays.
Say I have an array that I created (Variant) with the following:
Redim Array1(2)
To me, this is an array with one element. If I create an array with the following:
Redim Array1(0,2)
To me, this is an array with multiple elements.
Is there a way to test Array1 to see if it has one or multiple elements?
I create code that I pass the array and need to know how many elements in the array that I passed.
Thanks
I am trying to determine how many elements are in arrays.
Say I have an array that I created (Variant) with the following:
Redim Array1(2)
To me, this is an array with one element. If I create an array with the following:
Redim Array1(0,2)
To me, this is an array with multiple elements.
Is there a way to test Array1 to see if it has one or multiple elements?
I create code that I pass the array and need to know how many elements in the array that I passed.
Thanks