SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Menu
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andypgill
Starting Member

34 Posts

Posted - 12/10/2012 :  09:47:13  Show Profile  Reply with Quote
Hi

Is it possible to create a menu in excel that will run a number of SQL stored procedures.

I have just inherited a database, the user needs to go into SQL run each of the three stored procedures, close SQL open excel and refresh the data.

I was hoping to create a menu in excel that will run the three stored procedures.

I have looked on various websites and they talk about passing data to excel, I don't want to pass any data just to run the procedures.

Thanks
Andy

Mike Jackson
Starting Member

37 Posts

Posted - 12/12/2012 :  08:35:38  Show Profile  Reply with Quote
If you have any VBA programming experience, you can create a VBA program in Excel using OCBC that executes an SQL statement.

There are lots of examples on the net.

Mike
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000