+ Reply to Thread
Results 1 to 1 of 1

Array dimension declaration

  1. #1
    Registered User
    Join Date
    05-21-2007
    Posts
    79

    Array dimension declaration

    I'm trying to write a macro that builds a few small tables from a larger one, and I'm using arrays to store the small tables until I'm ready to output. The issue that I'd like to resolve is in the declaration of these arrays. The larger table that I use contains a variable number of records, and each record has a variable number of rows associated with it, from 2 to 4. So the table could look like this:

    Please Login or Register  to view this content.
    My smaller tables won't care about how many rows there are for each record, just how many records. So, I've got code that will determine the number of records and everything, but I can't seem to find a way to declare an array based on that variable. It only works if I hard-code the values.

    Anyone know of any work-arounds for this? Public declarations? Is there a way to ReDim a constant, and use that maybe?

    Thanks
    Last edited by yellephant; 06-29-2007 at 08:56 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1