Solved

A MultiDimensional Array

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

786 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