Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
GUS GUS is offline
external usenet poster
 
Posts: 45
Default add to two dimensional array

i want to add in a two dimencional array some values and the read them and
put then on cells.
I have 60 customers with ten data eatch (name,phone,street,etc)

an i want to put all these data in array.
How can i do that . I am not an expert in arrays.






  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default add to two dimensional array

If you put the data in Cells A1:J60 on Sheet1, then the following will
load them into the array:

Dim myArray
myArray = Worksheets("Sheet1").Range("A1:J60")

If you then change the elements of the array, you can put the changed
elements back on a worksheet with

Worksheets("Sheet2").Range("A1").Resize(UBound(myA rray),UBound(myArray,2)).Value=myArray

Alan Beban

GUS wrote:
i want to add in a two dimencional array some values and the read them and
put then on cells.
I have 60 customers with ten data eatch (name,phone,street,etc)

an i want to put all these data in array.
How can i do that . I am not an expert in arrays.







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
Lookup within a 2 dimensional array Edu Excel Worksheet Functions 5 March 31st 10 09:52 PM
Three Dimensional Array Question Tornados Excel Discussion (Misc queries) 1 June 20th 05 12:58 AM
2 Dimensional Array Tom Ogilvy Excel Programming 0 August 18th 03 08:04 PM
2 Dimensional Array steve Excel Programming 0 August 18th 03 07:19 PM
Sorting a 2-dimensional array Vasant Nanavati[_2_] Excel Programming 3 July 12th 03 08:27 PM


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