Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Location
    France
    Posts
    6

    Unanswered: 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 Attached Thumbnails MsgPlantage.jpg   MsgPlantage_details.jpg  

  2. #2
    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    511
    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...
    Last edited by Colin Legg; 03-14-10 at 12:35.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •