LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Out of Memory

I've had this occur recently (I'm on Excel 97).

I found that closing down the modules in the VBE helped,
so that only those you need are open.

Also, you may be encountering the 64k boundary limit (see
Help for more details) - in which case, split your macros
into smaller sections. I decided to have a controlling
macro that "called" other macros to do the work. I then
split the macros being called into smaller sections.

I found that it also helps with debugging.

HTH
-----Original Message-----
I'm troubleshooting an extensive macro which does a lot

of copy and pasting from one sheet to another. When I try
to debug it and copy code I recieve an Out of Memory
message. In order to clear it I have to close excel and
reload at which point I am able to copy and paste, at
least until I re-run the macro. Is there a way to clear
the memory in code or while I'm debugging? I'm running
excel 2000 on win2k3 with 2gb ram.

Thanks

.

 
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
XL 2007 - Out of Memory - memory leak/bug? PCLIVE Excel Discussion (Misc queries) 0 March 23rd 09 03:31 PM
Not Enough Memory Mali Excel Discussion (Misc queries) 3 February 12th 07 01:03 AM
out of memory jvl_runner New Users to Excel 3 February 1st 07 02:12 AM
Vba Memory billy2willy Excel Discussion (Misc queries) 2 August 17th 05 12:13 AM
The instruction at "0x65255ac9" referenced memory at "0x00000008". The memory could not be read. Clikc OK to terminate etc Angus Comber[_2_] Excel Programming 1 November 7th 03 01:18 PM


All times are GMT +1. The time now is 09:17 AM.

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"