Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel chews up all available memory, then kills the machine

Status
Not open for further replies.

CybOrg

Programmer
Nov 30, 1998
57
SE
Hi all!<br>
<br>
I've got a situation where I have an Access97 macro that should run nightly to produce reports in Excel. It runs the query (against two separate ODBC databases), saves the output in Excel format and kickstarts an Excel macro sheet. The macro save the datasheet under another name, creates subtotals, formats headers & footers, and creates a variable number of charts (never more than five or six), then saves again and quits. If I run this macro more than twice I have to reboot - I can literally see how the available memory drops as I run the macro. Now - is there a way to 1) reduce the memory consumed (I recalculate the sheet manually in the macro) or 2) to empty the clipboard programmatically?<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top