Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Transferring part of a multi-dimensional array to a range in VBA
There is no support for what you describe.
-- Regards, Tom Ogilvy "Bob J." <Bob wrote in message ... 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Viewing Multi dimensional array | Excel Programming | |||
Viewing Multi dimensional array | Excel Programming | |||
Enumerating a multi-dimensional array | Excel Programming | |||
Problem with Multi-Dimensional Array | Excel Programming | |||
How to declare Multi-dimensional dynamic array? | Excel Programming |