You could use the Microsoft ActiveX Data Control Reference to do this. From your VBA window, in the menu bar, click on Tools > References... and check off the latest version of Microsoft ActiveX Data Controls (2.8).
Now, you'll be able to create an ADO Connection and Recordset, which you can use to transfer data between Word and SQL Server.
*cLFlaVA
----------------------------
A polar bear walks into a bar and says, "Can I have a ... beer?"
The bartender asks, "What's with the big pause?
But I really need to be able to execute this on a Save or SaveAs event. The only events I see are Document_Open, Document_New, Document_Close. I am not sure that I follow you?
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.