Asked By
petermoss
0 points
N/A
Posted on - 04/04/2012
Hello,
I have a simple program that uses Excel but every time I execute it I get this error message (see below). I am new to this kind of scripts. Anyone who could help me resolve the problem? Not sure what to do next. Tried searching the internet but no one has experienced this yet. Thanks in advance.
Error:
Error Excel Application/1 Unknown error: WORKSHEETS
Called from TOLEAUTO: WORKSHEETS(0)
Called from EKSPORTDOLBH(334)
Called from (b)MAIN(222)
Called from _ DOCONTROLEVENTPROCEDURE(4394)
Called from EVENTS(1274)
Called from_DOMESSAGELOOP(0)
Called from _ ACTIVATEWINDOW(4083)
Called from MAIN(107)
Answered By
rtacujan
240 points
N/A
#155159
Program error encountered while using Excel
Here are some steps that you can try:
1. Open the Start menu and select "Run…" Type "C:Program FilesMicrosoft OfficeOfficeExcel.exe"/Automation, including the quotation marks, and press the "Enter" key.
2. Launch MS Excel in Safe Mode. To do that open the Start menu and select the "Run…" tool. Type "C:ProgramFilesMicrosoftOfficeOfficeExcel.exe"/Safe, including the quotation marks, and press the "Enter" key.
3. Try to reregister MS Excel. You just need to open the Start menu and select the "Run…" tool. Type "C:Program FilesMicrosoft OfficeOfficeExcel.exe" /Regserver, including the quotation marks, and press "Enter."
4. Reinstall Excel if none of the steps work.