Thousands of experts available around the clock to solve your toughest technology problems.
Excel VBA error: Microsoft Excel Has Stopped Working
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 solution is available to Premium Members Become a Premium Member to:
Get unlimited access to all articles and solutions
Ask questions and collaborate directly with technical Experts
Network with industry professionals and thought leaders