Solved

A MultiDimensional Array

Posted on 2006-07-04
4
170 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Use Multiple Forms 4 49
VBA Word macro - how to get characters after the searched for string 5 68
to transfer string from C lanaguage to VBA 4 56
Problem to With line 4 39
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

911 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

25 Experts available now in Live!

Get 1:1 Help Now