KasperSørensen
New Member
- Joined
- May 31, 2013
- Messages
- 1
Hi,
Generel overview of Excel Sheet:
I use two Excel workbooks. One where I start my macros, creates my Pivot table and store all the data i need.
The second one, I use to extract data through SQL scripts to two worksheets and connect them through a lot of VLOOKUP functions and doing a lot of calculations. (I have approx 100.000 rows, and 35 columns with excel functions and my own created functions).
When all the data is extracted to the second workbook, I copy the two worksheets to the first workbook. Hereafter I have macros which create new worksheets and pivot tables.
The problem is that I often experience that Excel does not have enough memory. Every time I copy though a macro, i delete the clipboard afterwards, but it is not enough to make sure I have enough memory.
Can anybody tell if there is a good way of clearing Excel memory after the VBA codes have run? Can the problem be that while creating PIVOT tables, the catches is to heavy for Excel. Can I clear the catches for the Pivot?
Generel overview of Excel Sheet:
I use two Excel workbooks. One where I start my macros, creates my Pivot table and store all the data i need.
The second one, I use to extract data through SQL scripts to two worksheets and connect them through a lot of VLOOKUP functions and doing a lot of calculations. (I have approx 100.000 rows, and 35 columns with excel functions and my own created functions).
When all the data is extracted to the second workbook, I copy the two worksheets to the first workbook. Hereafter I have macros which create new worksheets and pivot tables.
The problem is that I often experience that Excel does not have enough memory. Every time I copy though a macro, i delete the clipboard afterwards, but it is not enough to make sure I have enough memory.
Can anybody tell if there is a good way of clearing Excel memory after the VBA codes have run? Can the problem be that while creating PIVOT tables, the catches is to heavy for Excel. Can I clear the catches for the Pivot?