set rsData = objConnect.Execute( _
"StoredProc",,adCmdStoredProc)
else have a look he
http://www.devguru.com/Technologies/...n_execute.html
keepITcool
< email : keepitcool chello nl (with @ and .)
< homepage:
http://members.chello.nl/keepitcool
"JW" wrote:
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