View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob J.[_3_] Bob J.[_3_] is offline
external usenet poster
 
Posts: 1
Default Transferring part of a multi-dimensional array to a range in VBA

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.