Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Viewing Multi dimensional array Codea Excel Programming 1 August 5th 04 01:30 PM
Viewing Multi dimensional array Codea[_2_] Excel Programming 0 August 5th 04 12:49 PM
Enumerating a multi-dimensional array Robert Stober Excel Programming 7 September 13th 03 12:28 PM
Problem with Multi-Dimensional Array Kirk[_2_] Excel Programming 2 August 26th 03 03:31 PM
How to declare Multi-dimensional dynamic array? Terence Excel Programming 1 August 11th 03 04:55 AM


All times are GMT +1. The time now is 12:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"