D
Danny
I have the following code I use in an Excel 2003 form to open a word
doc 2003. It opens fine but minimizes automatically after it opens.
Any ideas????
Private Sub()
Dim appWord As New Word.Application
Dim myDocument As Word.Document
Set appWord = CreateObject("word.application")
appWord.Application.Visible = True
Set myDoc = appWord.Application.Documents.Open("C:wordfile.doc")
Set myDocument = Nothing
Set appWord = Nothing
End sub
Thanks
D
doc 2003. It opens fine but minimizes automatically after it opens.
Any ideas????
Private Sub()
Dim appWord As New Word.Application
Dim myDocument As Word.Document
Set appWord = CreateObject("word.application")
appWord.Application.Visible = True
Set myDoc = appWord.Application.Documents.Open("C:wordfile.doc")
Set myDocument = Nothing
Set appWord = Nothing
End sub
Thanks
D