Hi guys,
I have an array ( n rows, 2 columns) that is filled in by values from two other arrays (dim_tag,1) and (dim_iban,1) based on a condition within a loop .
Following, my code the final dimension of my array is (dim_tag,2) however since the condition is not always met the values in the array can be #NA.
How can I size the dimensions of my array that it eliminates #NA and its dimension corresponds to the number of times the condition is fit.
I tried to play around the Redim and ReDim Preserve, by sometimes declaring a fixed dimension and Redim and sometimes no fixed and Redim. I get error 9 subscript out of Range or array already dimensioned.
Any help how can I get clean array corresponding to real values ?
Many Thx.
Najwa.
HTML Code:
Bookmarks