Dim wdApp as Word.Application
Dim wdDoc as Word.Document
Set wdApp = New Word.Application
Set wd.Doc = wdApp.Documents.Open("C:\My Path\Mydoc.doc")
'additional code goes here
wdDoc.Save
wdApp.Quit True ' save any changes to the Word document
Set wdDoc = Nothing
Set wdApp = Nothing
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.