View Single Post
  #3   Report Post  
Posted to microsoft.public.vb.general.discussion,microsoft.public.excel.programming
jack jack is offline
external usenet poster
 
Posts: 97
Default Run-time error '50003': Unexpected error

No, it wont!
The code is NOT executed yet when the error strikes.
Jack
"Barb Reinhardt" wrote in message
...
It would help if you post your code.

"Jack" wrote:

Hello,
I have this error, which happens only in Vista.
It happens just at the start of Form_Load routine.
My program is using Excel automation, and I traced the problem is related
to
Excel version installed on target computer.
I developed and compiled executable in Excel 2007 environment, but on
Vista
there is Excel 2003 installed.
1.
Why the error happens only in Vista?
I have tested executable in WinXP running the same Excel 2003 and there
is
not any error.
2.
What else can I do to prevent that problem, besides recompiling exec in
Excel 2003 environment?
Your comments appreciated,
Jack