View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JW[_4_] JW[_4_] is offline
external usenet poster
 
Posts: 1
Default Excel ADO SQL StoredProc

I have no problems running other Procs or SQL statements.
It makes the connection, it pauses for a few seconds,
definitely running the Procedure. Then Excel fails.
I see this message in the app event viewer.
<< Faulting application excel.exe, version 10.0.6501.0,
faulting module msado15.dll, version 2.70.7713.0, fault
address 0x0002ddd6.
The code errors at the execute statement

objConn.Execute ("EXECUTE StoredProc"), rsData

I tried both execute styles.
<Type Name is invalid on this 2nd style.
objConn.StoredProc , rsData

any advice ? Jeff