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: 2
Default VBAProjects remain in memory after workbook is closed

I have a rudimentary pricing applicatiion which copies information from a
pricelist into a quote form located on a sheet within the same workbook. The
user has a toolbar that they can use to copy this quote sheet to a new file.
The program also saves a listing of all quotes generated in this fashion into
a summary sheet. After creating the quote file, the application closes the
new quote and allows the user to generate a new quote.

The problem is that after generating several quotes (like 2-3), and viewing
the summary list of quotes once or twice, Excel starts acting really strange.
the panes lockup memory errors occur, etc. When running this project in
debug mode, the VBAProjects associated with the closed workbooks are still in
memory. So after a while there can be 5-10 sets of VBAProjects (with no code
or userforms at all) in memory.

In the past I learned that using fully qualfiied workbook, sheet and range
names eliminated similar problems. But even with fully qualified references,
this problem remains. I am urgently trying to release the latest version of
this tool to my coworkers, but I am stumped as to the cause of this problem.

Any ideas?

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
Projects remain in VBE even after closing workbook GoFigure[_22_] Excel Programming 3 December 14th 05 05:15 PM
Closing Hidden Workbook when Active Workbook is Closed SusanK521 Excel Programming 5 September 24th 05 12:27 AM
VBAProjects still visible after workbook has closed R Avery Excel Programming 1 May 23rd 04 01:34 AM
Closed workbook remains in memory. Kent Prokopy[_3_] Excel Programming 6 December 4th 03 01:37 PM
Unprotect VBAProjects using VBA Marcus[Sweden] Excel Programming 3 November 19th 03 02:45 PM


All times are GMT +1. The time now is 10:29 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"