I was tasked with creating a scorecard for some of the Associates in my company. As of late, I’ve been receiving an “Out of Memory” error. The error is periodic, sometimes occurring when I’m importing data and other times it just appears. My laptop only has 16 GB of RAM which may be the issue. However, I would like to make this tool more efficient where possible. I know this frustrates most of you, and understandably so, but I am extremely limited on code that I can share and unable to upload anything.
Here’s a little info about the tool:
Here’s a little info about the tool:
- 13 worksheets
- 59 subs in total
- 35 subs open data source files: copying certain data elements and pasting them into the parent workbook (New Data tab)
- 3 subs format data
- 1 appends New Data to the Running Data tab (these are separated so that when data needs to be sanitized, I’m only doing it against the new data and not all data)
- The remaining subs are either form controls, twist the data into different views or print the views to PDF.
- 2 worksheets have over 1100 formulas.
- 3 worksheets have over 700 formulas.
- 1 worksheet has 2880 formulas.
- 1 worksheet has 3840 formulas.
- MS Access might be better, but my company has “outlawed” MS Access.
- I don’t know if this might help, but I supposed I could update the tool to let the business owner select the desired Associate and click an “Update Data” button that would add the requisite formulas, then paste them as values. This would, in theory, get rid of the over 8000 live formulas
- I don’t know if/how Power Query, Power Pivot or any other MS Excel tool might help, as I’ve never worked with them before.