Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Running out of memory - changing links and updating Access from xl

I guess you might need to show the code as you might be creating muliple
instances of each session etc...

also check that you are not creating multiple windows sessions - use windows
task manager.

Cheers
Nigel

"Anders" wrote in message
...
What I am doing:

1. A few thousand workbooks that have identical layout.
2. A macro xls with a range linked to one of the files in 1. above.
3. An Access mdb with a table linked to the range in 2. above.
4. A macro that loops through and links each file in 1. (such that the

Access linked range in 2. changes) and runs an append query using the linked
range as input and a second table as the append target.
ADO is used...
The problem:
After about 170 files the VBA macro crashes due to a "not enough memory"

error.
I don't get it...
I'm running Win2000, Office 2000 on a 1GHz Dell with 500 meg of RAM...:(
Please help.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 593
Default Running out of memory - changing links and updating Access fro

Anders wrote ...

What I am doing:

1. A few thousand workbooks that have identical layout.
2. A macro xls with a range linked to one of the files in 1. above.
3. An Access mdb with a table linked to the range in 2. above.
4. A macro that loops through and links each file in 1. (such that the
Access linked range in 2. changes) and runs an append query using the linked
range as input and a second table as the append target.
ADO is used...
The problem:
After about 170 files the VBA macro crashes due to a "not enough memory"
error.


Could be:

BUG: Memory Leak Occurs When You Query an Open Excel Worksheet Using ADO
http://support.microsoft.com/default...;en-us;Q319998

Jamie.

--
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
Copy/Paste - Running out of Memory Cheval New Users to Excel 1 October 12th 06 01:40 PM
Running out of memory Ian Belcher[_2_] Excel Programming 4 June 4th 04 09:55 AM
Is there any way I can increase the size of the virtual memory in excel while running the macro? Julie[_8_] Excel Programming 2 January 27th 04 01:58 PM
XP running out of memory when using macro JamieD Excel Programming 3 October 22nd 03 03:42 PM
Not enough Memory running macro Rich96 Excel Programming 2 September 19th 03 11:58 PM


All times are GMT +1. The time now is 05:13 PM.

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

About Us

"It's about Microsoft Excel"