Dim WD As Word.Application
Dim Doc As Word.Document
Set WD = New Word.Application
With WD
Set Doc = .Documents.Open("C:\doc1.doc")
.Run "Doc1!TheMacro"
Doc.Close savechanges:=False
.Quit
End With
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.