LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 489
Default Memory Issues with UserForms?

I have an application with 20 Userforms, each has lots of controls and lots
of code to support those controls. I have no problems with freezing.

You may have some code that is causing a continuous loop, which gobbles up
memory very quick and may cause Excel to "freeze." You may have a huge
workbook with tons of sheets, images, or data that Excel has issues
computing. If possible, I'd post the code that potentially could be giving
you problems so we can help.
--
Cheers,
Ryan


"Marcolino" wrote:

I'm developing a VBA program that uses several UserForms.

As the program gets more complicated (and more UserForms are added), Excel
has started freezing/crashing on me - despite the fact that the file is small
(428 KB).

Is the freezing/crashing due to the number of UserForms (11 or 12)?

Could I avoid this problem by combining two UserForms into one and
displaying the controls associated with the two forms one at a time,
depending on which option is selected in the Main Form?

Any advice would be greatly appreciated.

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
Out Of Memory Issues gedkins Excel Programming 1 November 11th 09 10:31 PM
Memory problem: Userforms and ActiveX controls: How many is too many? WHA Excel Programming 0 November 30th 07 03:49 AM
memory issues Spike Excel Programming 3 December 17th 05 09:53 AM
Releasing all Userforms in memory Rich[_24_] Excel Programming 1 August 25th 04 02:56 PM
Memory Issues keepitcool Excel Programming 0 August 25th 03 02:47 AM


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