Results 1 to 3 of 3

Thread: Redim

  1. #1
    Guest

    Post

    I have a three dimensional array and want to redim the two last dimensions but need to keep the information that is already stored in the array. I've tried using the preserve technique but that only seems to work when i change the last dimension.
    Please somebody help me, i'm going crazy.

  2. #2
    Member
    Join Date
    Nov 1999
    Posts
    63

    Post

    Redim Preserve only allows you to change the last dimension of an array. Your only option is to Dim a new array and copy the original array contents into the newly dimensioned array.

    Gerald

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    I've been in the same situation, Mark, and I ended up using multiple 1 dimension arrays that were in parallel with each other

    HTH

    Tom

Posting Permissions

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



Click Here to Expand Forum to Full Width