Hello everyone
I am trying to build a code but make it general .. That's because there are a lot of changes and new columns added and other columns may be changed in place. So I thought of using modVariables to put the columns numbers in variables and to be easier to follow and edit later
in modVariable I put these lines
And in ThisWorkbook module I put these linesPlease Login or Register to view this content.
In modUtility I used some UDFsPlease Login or Register to view this content.
Now when trying the following code that SUMs some columns, I found it takes about 5 seconds for only 7000 rowsPlease Login or Register to view this content.
The code is simple as it sums columns together and put the results in arrayPlease Login or Register to view this content.
What makes the code slow...? I like to hear your ideas
I can't attach sample now but it is so simple and the data are just numbers ..
Bookmarks