Return a stored procedure value to Excel

G

Guest

I have a stored procedure that returns a single value from an SQL table, uses
that value to wite data into another SQL table and increments the original
value by 1.

I can invoke the procedure from excel using ADO, but I can't return the
value into excel for further processing. Can anyone help?
 
N

NickHK

You need to look at the Parameters of the ADODB.Command object.
And the .Direction of each Parameter you set.

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top