You could try unregistering, then re-registering Excel as a COM server:
regsvr32 /u [path_to_file]\excel.exe
regsvr32 [path_to_file]\excel.exe
>Office Excel.2007 won't automate unless it has run once.
>
>m.loExcel = CreateObject("Excel.Application")
>Error Ole error code 0x80080005: Server execution failed.
>With (m.loExcel)
>
> * do neat excel stuff here
>
>Endwith && excel
>
>if i launch excel, then close it all is well.
>
>can anyone shed light on this.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up