Hi,
I've been "using" Excel VBA for a few dozen years off-and-on, but I don't normally need arrays beyond one dimension..
The below code works, but I had to resort to some "fixes" that left me puzzled.
I first tried to declare and fill the 2d array on the same line (tried with and without keyword New), no luck, so ended up doing it C-style, one at a time.
In the nested loop, tried "country = ar(2, indx)". Didn't work?!? Got the "mess" you see below from the variable in the locals window...
At this point I'm more than willing to feel stupid - can someone enlighten please :-)
Thanks!
GC
Please Login or Register to view this content.
Bookmarks