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.
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,
Just traded in my OLD subtlety...
for a NUance!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.