Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 200
Default load 2 dimensional array into excel sheet

Range("A1").Resize(UBound(arr) - LBound(arr) + 1, _
UBound(arr, 2) - LBound(arr, 2) + 1).Value = arr

Alan Beban

Chris wrote:
Hi,

I have a 2 dimensional array.

I would like to load the array into a worksheet starting at lets say: A1.

I know how to do this with a nested looping structure but thought maybe there
was a function available in the vb or excel libraries.

I tried using worksheetfuncton.transpose but it does not give the desired
result.

thanks

Chris

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
load 2 dimensional array into excel sheet Bob Phillips Excel Programming 0 December 14th 06 06:36 PM
Load excel range into multi dimensional array Rishi Dhupar Excel Programming 1 January 26th 06 03:50 PM
Re : Excel Sorting a 2-Dimensional Array [email protected] Excel Programming 11 May 3rd 05 05:00 PM
Load an array with Sheet names S G Booth Excel Programming 6 March 2nd 05 08:48 PM
Create One-Dimensional Array from Two-Dimensional Array Stratuser Excel Programming 1 February 23rd 05 08:46 PM


All times are GMT +1. The time now is 03:45 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"