Good Morning Everyone! (at least at the moment where I am located),
I am starting to get pretty deep into my current project, and I am having to take into account of the performance of my macro. I have 2 arrays - Both are 2D. One is 360x4 and the other is 120x4, and I have a seperate "FillArrays" Sub dedicated to fill them because they are used in multiple Subs. They are filled by looping through my 4 columns to collect all the items I have. I've read somewhere that it is better to change elements in an array, rather than changing cells in a worksheet (efficiency wise).
Is there a way to create a true Public array where I do not have to call another Sub to fill them?
I am starting to get pretty deep into my current project, and I am having to take into account of the performance of my macro. I have 2 arrays - Both are 2D. One is 360x4 and the other is 120x4, and I have a seperate "FillArrays" Sub dedicated to fill them because they are used in multiple Subs. They are filled by looping through my 4 columns to collect all the items I have. I've read somewhere that it is better to change elements in an array, rather than changing cells in a worksheet (efficiency wise).
Is there a way to create a true Public array where I do not have to call another Sub to fill them?