Executing a Stored procedure using Excel Macro

Tags:
Excel macros
SQL
Stored Procedures
VBA
I am an amateur in SQL programming. Could you please tell me how to execute a Stored procedure using Excel Macro (VBA Programming) and then save the record set into different Excel sheets?
ASKED: June 13, 2008  6:36 PM
UPDATED: June 13, 2008  8:14 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

The easiest way would be to setup a worksheet within your workbook as a work area. Setup some data imports which you can setup to auto refresh when the workbook is open. Then all you need to do is setup a macro to move the data you are looking for into the correct location.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following