Solved

A MultiDimensional Array

Posted on 2006-07-04
4
169 Views
Last Modified: 2010-04-30
Hi,

Basically my question is how can I define one?  I do not know what the size will be so it has to be open.  I do not know how to code this?  Do I have to use something like redim when I am assigning values?

thanks in advance,

Andrew
0
Comment
Question by:REA_ANDREW
  • 2
  • 2
4 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 17038293
0
 
LVL 20

Author Comment

by:REA_ANDREW
ID: 17038304
Cheers for that, but there is no example of Multi Dimensional Arrays there
0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 500 total points
ID: 17038422
Sure there are - what do you call this:
Dim a(1 to 5,1 to 5) As Double

Are you saying that
DIM MyArray() didn't work for your multidimensional array?
0
 
LVL 20

Author Comment

by:REA_ANDREW
ID: 17038473
leew my apologies I did not see that.

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now