SysChat (
-   Operating Systems (
-   -   Disable Excel "Send error report to Microsoft" message (

jowilla442 05-13-2009 10:42 AM

Disable Excel "Send error report to Microsoft" message
I'm using a macro to close Excel, but then I get the "Microsoft Excel has encountered a problem and needs to close........" message. I went to the system properties - Advanced - Error Reporting and clicked the Disable Error Reporting radio button and also UNchecked the "notifiy me when critical errors occur". I am still getting the messages though when I run my macro to close Excel. This is Excel 2007 running on Windows XP Pro.:confused:

William_Wilson 05-18-2009 11:00 AM

What type of macro is it? Eg, what did you write it in, it's possible there is a conflict between Excel and the macro.

Enable/Disable Error Reporting in Windows XP
to disable error reporting under XP

jowilla442 05-19-2009 03:47 PM

Disable Excel "Send error report to Microsoft" message
Thankyou for the reply William.

I'm not sure why I was getting the "Send error report" after I disabled error reporting.

I rewrote my macro and the problem doesn't occur now, so it's possible that it was an Excel/Macro issue...

The part that was causing the problem was a task kill function. I called it in a batch file from the macro to close Excel. I'm still doing it, just in a different order, and now I don't get the error. Here's the part that was causing problems:

taskkill /im EXCEL.exe /f

Thanks anyways though!!!

William_Wilson 05-19-2009 09:01 PM

Interesting, the line doesn't appear to be something that should cause an error, but if timings were wrong and excel was blocking at the time, it could force the application to close anyway, which the OS (Windows) interpreted as an error for some reason.
The fact that you received errors after disabling them is just a sign that even M$ programmers are not all experts, lol.

Glad your problem is resolved :)

All times are GMT -4. The time now is 08:22 AM.

Copyright © 2005-2013

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54