Forum Discussion

adnan2004's avatar
adnan2004
Copper Contributor
Aug 07, 2022
Solved

excel vba arrays filling one dim array with 2dim array

 I have 6300 rows and I want to search in this data with multiple criteria Is it possible arrays help me in this work . if i Filling a 2-dimensional array with a one-dimensional array or make multiple dim array 

  • adnan2004 

    While VBA can easily handle three-dimensional (and higher) arrays, Excel cannot store them directly: a worksheet is a two-dimensiona array of rows and columns.

    The reply on Stack Overflow proposes to create a one-dimensional array - think something like {item1, item2, item3, ...} in which each item is a two-dimensional array. So item1 would be an array of rows and columns, item2 would be another array of rows and columns, etc.

    Each of these items can be stored on a worksheet.

     

    But I don't see how this relates to the question in the first post.

8 Replies

Resources