LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dumping multi demensioned array into excel

I had a 2D VBA Array "Array1" that had the same dimensions as a named
excel range "PasteCell1". When I wanted to dump the data from VBA to
Excel I did the following:

Range("PasteCell1") = Array1

This worked becuase both were two dimensions and dimensioned 13X9.

However the VBA array has been expanded to 5 dimensions.

Array1(1 to 13, 1 to 9, 1 to 8760, 1 to 10, 1 to 3)

The first and second dimesions are still the same as my named range
(i.e. 13X9). Now that I have the extra dimensions I am assuming that I
either have to use a loop t fill the excel range or is there a way to
make the excel range equal to the VBA array by qualifying that I want
the first element of dimesions 3, 4 and 5. Can this be done?


---
Message posted from http://www.ExcelForum.com/

 
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
multi-array sumproduct Steve Excel Worksheet Functions 8 July 29th 09 11:41 PM
Multi add, in array of data Paul Excel Worksheet Functions 2 January 22nd 09 03:27 PM
match in multi-column and multi-row array sloth Excel Discussion (Misc queries) 14 September 1st 06 10:33 PM
Help with dumping data Tom Ogilvy Excel Programming 0 November 14th 03 02:34 AM
Dumping the contents of a VBA array to a sheet Dave[_15_] Excel Programming 6 August 9th 03 02:35 AM


All times are GMT +1. The time now is 06:34 AM.

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

About Us

"It's about Microsoft Excel"