create an automatic merge to word

G

Guest

I have created a query to merge data to a word doc. I have attached a command button to open the file directly
Dim stAppName As String, stDB As String
stAppName = "C:\Program Files\Microsoft Office\Office11\Winword.exe"
stDB = "C:\Everest\CHPIndividual.doc"
Call Shell(stAppName & " " & stDB, 1)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top