Question

Excel VBA error: Microsoft Excel Has Stopped Working

Asked by: malcolm29
I am using Microsoft Excel 2010 and have a rather complex user form that has 6 rows of 30 controls each on one tab of a MultiPage control.  There are several other Tabs/Pages in the form, but this particular Tab/Page oftentimes throws the error "Microsoft Excel has stopped working."  This problem does not occur every time the Form is used, but it does occur frequently enough to be frustrating.  

I have perused the Microsoft KB article 319832, "INFO: Error or Unexpected Behavior with Office Automation When You Use Early Binding in Visual Basic" but I still get the message even after ensuring that Option Explicit is in place.  I have also set VBA to "Break on all errors" but this error does not cause any offending line to be highlighted.

Once the issue does occur, exporting then deleting then importing the user form seems to correct the problem -- for a while, but not permanently.

Any ideas on what might be causing it or what steps I can take to find the offending code?  

This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Sign Up Now!
Asked On
2010-12-05 at 09:12:59ID: 26658703
Tags

excel

,

vba

Topic

Microsoft Excel Spreadsheet Software

Participating Experts
2
Points
500
Comments
19

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

Companies like CVS, Honeywell, Chevron, Toyoto, TriStar Pictures, the U.S. Army, and Accenture

Your Complete Technology Resource

900+ topic areas (and counting)

Related Solutions

  1. Echo Off - Excel VBA
    Hi Was just wondering if there is such a thing called Echo Off in Excel VBA? Greg
  2. Excel VBA with delphi?
    Hello Experts, (or more specifically ciuly, because i know it's you who going to answer first xD) I'm making a macro for excel using VBA, it has the userform and the some code in it... What i wish to know is if there is any way to kind...
  3. Excel vba: Graphs - is this possible
    Hi EE, I am visiting the Excel Zone. Most of my questions are Access/VBA related. For the past 2 weeks, the Access Zone experts have been enormously helpful in many ways, such as: 1) learning MS graph "as a user" with...
  4. Unexpected error (40230)
    Hi I can't seem to access the VBA code in my excel file. When I double click on any of the forms, modules, or excel objects I get the error - "Unexpected error (40230)" Any thoughts or ideas? Thanks
  5. VBA WinHttp.WinHTTPRequest
    I have in Excel vba Dim xhr As WinHttp.WinHTTPRequest Set xhr = CreateObject(WinHttp.WinHTTPRequest) but this gives me "compile error user defined type not defined. I must be missing a reference or something like but no...
Tutorials are great ways to tackle hard problems!

Featured Articles

Read through articles written by top experts!

Get full access to the help you need.

Subscribe Now

30-day free trial. Register in 60 seconds.

The Latest Technology News and Tips

Your answer is only minutes away!

New Solutions Everyday

Because of our active community of experts, on average new questions receive their first comment in under 30 minutes.

Top MS Excel Questions

       

Hear What our Users are Saying

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

20130221-EE-VQP-038

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Development.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Microsoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...an excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans