If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Excel.EXE crashes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-19-09, 11:04
ludo27 ludo27 is offline
Registered User
 
Join Date: Feb 2009
Location: France
Posts: 6
Excel.EXE crashes

Hello,
I have an Excel Workbook with VBA code inside.
I can run the vba code correctly.

When I save the Workbook any line of the code cannot run no more, Excel crashes and I get the errors enclosed.

Does anyone have already seen this ?

Thanks
Attached Thumbnails
Excel.EXE crashes-msgplantage.jpg   Excel.EXE crashes-msgplantage_details.jpg  
Reply With Quote
  #2 (permalink)  
Old 03-14-10, 11:27
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
One of the error messages is from Visual Studio. Are you automating Excel using C#, VB .Net, etc..?

I googled for an Excel access violation error 0xC000005 and there were quite a few hits such as this one:
http://www.nocrash.com/ncbbs/msgs/96.shtml

If your code is solid then the first thing I think you should try is disabling all add-ins. If there aren't any problems at that point you could then re-install your add-ins one at a time until you find the culprit.

Hope that helps...
__________________
Colin

RAD Excel Blog

Other tutorials:
Array Formulas | Deleting Rows with VBA

Last edited by Colin Legg; 03-14-10 at 11:35.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On