Hello all,
My team and I have an inventory report that has a variable length. (currently up to 50,000 lines or so.) Number of columns is fixed.
In order to present it to our customer, we run a large amount of vlookups and such to pull data in from other Excel reports.
Once that is completed, we run an number if/then statements for correcting some of the data.
Our reports are growing in size (general increase in number of items on inventory) and as s result, my VBA is getting slower by the day.
I know either of the 2 (vlookups and if/then statements) are unfortunately causing quite some issues on memory usage.
Without having to disclose the entire VBA routine, are there general steps I can take to release my memory or speed things up a bit?
- All scripts we are using start with Application.ScreenUpdating = False
- I have tried Saving my file in between, in addition to saving at the end, but that actually did nothing to the memory usage and/or the time the VBA is running.
I have read something about VBA Arrays as well as VBA Dim, but are they helpful, and how do I use them?
And perhaps there is a method that can replace the if/then statements?
any help is highly appreciated!
Marijke
Bookmarks