G
Guest
Dim wdApp As Word.Application
Dim wdDoc As Word.Document
Set wdApp = New Word.Application
Set wdDoc = wdApp.Documents.Open(wdfile)
With wdApp
wdDoc.Application.Run "opn_lst_eng"
End With
the only time it will work is if I get a dialog box to open it as a read only doc.
Dim wdDoc As Word.Document
Set wdApp = New Word.Application
Set wdDoc = wdApp.Documents.Open(wdfile)
With wdApp
wdDoc.Application.Run "opn_lst_eng"
End With
the only time it will work is if I get a dialog box to open it as a read only doc.