Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Adding code to a control on a form causes excel to crash

Good day folks,

I have a form which shows the user information which has been entered
previously and asks for new user input.

The form worked fine until I added some new controls and added the code to
populate the combo boxes which a few choices.

I put a stop in the code and stepped through to see what the problem was and
it ran fine until it got to the new code. When it gets to the first line of
the new code excel crashes every time.

I have tried deleting the controls and starting again by adding them to the
form and I have tried using a new form - both cause excel to crash....
Is there a memory limit that I'm reaching? The entire spreadsheet only
weighs in at 1mb so surely not?

Any advice on how to solve this issue?

Thanks a lot

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Adding code to a control on a form causes excel to crash

I don't believe a memory limit is the source of your problem.

You might try Rob Bovey's free code cleaner addin
http://www.appspro.com

--
Regards,
Tom Ogilvy

"Skuzapo" wrote in message
...
Good day folks,

I have a form which shows the user information which has been entered
previously and asks for new user input.

The form worked fine until I added some new controls and added the code to
populate the combo boxes which a few choices.

I put a stop in the code and stepped through to see what the problem was

and
it ran fine until it got to the new code. When it gets to the first line

of
the new code excel crashes every time.

I have tried deleting the controls and starting again by adding them to

the
form and I have tried using a new form - both cause excel to crash....
Is there a memory limit that I'm reaching? The entire spreadsheet only
weighs in at 1mb so surely not?

Any advice on how to solve this issue?

Thanks a lot



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
Drop Down Form control always causes excel to crash headly Excel Discussion (Misc queries) 1 June 22nd 06 03:38 AM
stubborn Excel crash when editing code with code, one solution Brian Murphy Excel Programming 0 February 20th 05 05:56 AM
Design Best Practices: Form Control Code in Worksheet or Module Bing Excel Programming 2 December 23rd 04 02:31 PM
adding Activex control through code works BUT... Cannot access ob keepITcool Excel Programming 0 July 14th 04 04:28 PM
Excel crash error code Ed[_17_] Excel Programming 1 February 16th 04 10:46 AM


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