Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using word with sql sp 1

Status
Not open for further replies.

junkmail

Programmer
Jan 7, 2001
134
US
I know you can call a SQL stored procedure from excel and have it populate cells but can you do the same with word? if so can some post a sample of exactly how to do that. Thanks in advance for you help.
 
This is a VBA question so you should be asking it in forum707

But you can try this

one of the hints is here

Have fun.

---- Andy

A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.
 
HI,

I assume that you are referring to MS Query in Excel where you can query databases, stored procedure or not, and return the resultset to the worksheet.

Seems a word processor and a spreadsheet are quite different tools. I suppose you could code ActiveX Data Objects in Word VBA, and then populate a Word Table.

Of course, you do have the MailMerge feature, but your db extension must be listed in the Select Data Source window.

Skip,

[glasses]Just traded in my OLD subtlety...
for a NUance![tongue]
 
Woah, macropod. WTG!

Skip,

[glasses]Just traded in my OLD subtlety...
for a NUance![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top