Suppose I was to write code that would dynamically build a 2D array. The module would contain a number of subprocedures called by the main Sub. The subprocedures would populate the output array (using Redim Preserve)
Which of the two options below would run faster/complete first?
- Pass the array to each subprocedure as a ByRef argument
- Create a module level variable to hold the array
Bookmarks