Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to call a stored procedure in a macro

Good morning,
How to call a stored procedure in Excel macro?
Thanks

Lee
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to call a stored procedure in a macro

Lee,

Spookily,we had the same question earlier.

This is what I offered then

You can use ADO to invoke a SP from Excel, including parameters.

I could knock up some code myself, but I found this example on the net. Not
sure how good it is but give it a try

http://www.midrangeserver.com/mgo/mg...3-story01.html


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Lee Dengo" wrote in message
...
Good morning,
How to call a stored procedure in Excel macro?
Thanks

Lee



  #3   Report Post  
Posted to microsoft.public.excel.programming
Lee Lee is offline
external usenet poster
 
Posts: 33
Default How to call a stored procedure in a macro

Thanks Bob
-----Original Message-----
Lee,

Spookily,we had the same question earlier.

This is what I offered then

You can use ADO to invoke a SP from Excel, including

parameters.

I could knock up some code myself, but I found this

example on the net. Not
sure how good it is but give it a try

http://www.midrangeserver.com/mgo/mg...3-story01.html


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Lee Dengo" wrote

in message
...
Good morning,
How to call a stored procedure in Excel macro?
Thanks

Lee



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hyperlink, macro, stored procedure? JICDB Excel Worksheet Functions 5 October 27th 07 12:18 AM
Stored Procedure call and passing parameters TLowe Excel Programming 3 April 23rd 04 10:09 AM
execute stored procedure Mark Goldin Excel Programming 3 April 7th 04 03:03 PM
Run a stored procedure in Excel 2K ArthurB Excel Programming 0 February 26th 04 04:46 PM
Execute stored procedure using DAO sapta wijaya Excel Programming 0 September 29th 03 04:24 AM


All times are GMT +1. The time now is 09:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"