Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Insufficient Memory Error.

Hi,

I'm running a query on my excel application and I have a strange problem:
after running the query several times (the datas are on a sheet of the same
excel file) I got this error : "Insufficient Memory" and then : "Runtime
Error 7 - Insufficient Memory".
Moreover, this error comes out not on all the PCs that are running the
application..
For example on a Win 2000 Pro and Office 2000 Standard I got the problem,
but with a Win NT and Office 2000 Standard the problem does not occours...
I've noticed that on the PCs where I got the problem, everytime I run the
query the memory usage raises and goes higher and higher, instead on the
other PC the memory temporanely raises when I launch the query, but then it
returns to the original value..

Any ideas?

Thanx all

Luca.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Insufficient Memory Error.

I've never done exactly what you are doing ... but ... if I were in
Access, and if I ran the same query over and over, and if the query
adds new, temporary, records, then deletes the records (I know, this is
a lot of ifs) ... then, the solution would be to compact the database
(either from the toolbar ToolsDatabase UtilitiesCompact Database) or
from VBA. The only hitch with using VBA is that you can't write the
VBA code in the database that you want compacted. So, I write another
small database that has only one function in life ... to compact the
other database.

Sorry to bring Access stuff into this Excel environment, but it's the
only thing that came to mind that might fit your problem.


---
Message posted from http://www.ExcelForum.com/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
insufficient memory to create the bitmap KC Excel Discussion (Misc queries) 0 January 10th 08 04:04 AM
Out of Memory error Jimmy D Excel Discussion (Misc queries) 0 November 25th 07 10:14 PM
Out of Memory error Charlie Tuna Excel Programming 0 November 11th 03 12:27 PM
Insufficient memory Caused by Pivots. brett schoeman Excel Programming 0 October 28th 03 12:54 PM
Insufficient memory error using shared excel spreadsheet Eric Lustig Excel Programming 1 September 26th 03 06:34 PM


All times are GMT +1. The time now is 03:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"