Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default array of arrays stored in Name: POSSIBLE?

Folks,

I've been using JohnGreen's method of storing an array in a worksheet
name perfectly succesfully but would like to extend this to storing an
array which itself has an array in each index position.

Can anyone tell me whether this is possible or not? My attempts so far
have proved fruitless but I know there's a lot of expertise out there
....

In hope, as always, and with Festive Salutations to All

Matthew

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default array of arrays stored in Name: POSSIBLE?

Hi Matthew,

Do you mean define an array of arrays as a name? If so I don't see how that
would be possible, but I would be interested to be wrong!

AFAIK a defined array needs to be similar to what you can pass to a range. A
single horizontal dimension (one row of values) or 2 dimensions (rows &
columns of values). Then in cell formulas you can array enter the named
array, or (say) return individual elements, eg =index(myarray,row,col)

Let's imagine you can define an array of arrays, how would you access these
additional elements. Couldn't do as in vba, x = myarray(1,2)(1,2), at least
I don't think so.

What's your overall intention? Perhaps there's a different approach.

Regards,
Peter

wrote in message
oups.com...
Folks,

I've been using JohnGreen's method of storing an array in a worksheet
name perfectly succesfully but would like to extend this to storing an
array which itself has an array in each index position.

Can anyone tell me whether this is possible or not? My attempts so far
have proved fruitless but I know there's a lot of expertise out there
...

In hope, as always, and with Festive Salutations to All

Matthew



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
Functions, Arrays and number/text stored as text pepenacho Excel Worksheet Functions 3 April 23rd 08 08:02 PM
Passing an array or recordset to a stored procedure Paul Robinson Excel Programming 1 December 2nd 04 05:15 AM
Passing an array or recordset to a stored procedure Robin Hammond[_2_] Excel Programming 1 December 2nd 04 05:15 AM
Passing an array or recordset to a stored procedure Jamie Collins Excel Programming 1 December 2nd 04 05:15 AM
vba clearing out values stored in array chick-racer[_44_] Excel Programming 2 December 1st 03 09:05 PM


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