+ Reply to Thread
Results 1 to 2 of 2

redim preserve multidimensional array

  1. #1
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,662

    redim preserve multidimensional array

    I have two arrays........if an element is in both then dont transfer it to the "unique" array however, if it is in one and not the other then transfer it to the unique array. But for some reason the unique array is not increasing in size..........



    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,662

    Re: redim preserve multidimensional array....i am doing it wrong

    i found error.......when calculating ubound.......i used "Ubound(unique_file_array)" but it should have been "Ubound(unique_file_array,2)" to account for 2nd dimension.

    see code below
    Please Login or Register  to view this content.

+ 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