Transferring part of a multi-dimensional array to a range in VBA

G

Guest

I have a three-dimensional array (ex. TEST(1 To 2, 1 To 2, 1 To 360)) and I
want to transfer two dimensions (keeping the third as a constant) back to a
range. Is there any way to use the Value function to do this, instead of
creating a new two-dimensional array?
I tried: Sheets("FIRST").Range("FIRST").Value = TEST(1, 2, 360),
but I got a repetition of that one particular value. I can do it by
creating a new 2-D array, but this takes up a lot of code...Any help would be
appreciated...

Bob J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top