#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Memory leak

Is there a way to tell if you code is 'leaking memory'? Once in awhile it has
trouble and has to close excel... :(
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Memory leak

VBA is not usually subject to leaking memory. Just make sure that you set
objects to Nothing when you are through with them.
--
Gary''s Student - gsnu200762


"Charlie" wrote:

Is there a way to tell if you code is 'leaking memory'? Once in awhile it has
trouble and has to close excel... :(

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Memory leak

I think I discovered that the problem was my code running w/break and then
trying to close Excel...

"Gary''s Student" wrote:

VBA is not usually subject to leaking memory. Just make sure that you set
objects to Nothing when you are through with them.
--
Gary''s Student - gsnu200762


"Charlie" wrote:

Is there a way to tell if you code is 'leaking memory'? Once in awhile it has
trouble and has to close excel... :(

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
XL 2007 - Out of Memory - memory leak/bug? PCLIVE Excel Discussion (Misc queries) 0 March 23rd 09 03:31 PM
Add-in memory leak Curt Johnson Excel Programming 0 November 19th 07 04:52 AM
Memory Leak Sakkie Excel Programming 4 November 19th 06 09:17 AM
Memory Leak MD Excel Programming 1 May 28th 04 05:14 PM
Memory Leak using ADO 2.6 Jason[_17_] Excel Programming 2 August 26th 03 02:42 PM


All times are GMT +1. The time now is 02:27 AM.

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"