R
Russ
I found this piece of code by Bob Phillips that opens a Word document from
within an Excel macro.
Dim oWord as Object
Dim oDoc as Object
Set oWord = CreateObject("Word.Application")
oWord.Visible = True
Set oDoc = oWord.Documents.Open("C:\personal\bob\personal\CV - RP
(short).doc")
It works fine but it also closes the Excel file that contains the macro. Is
there a way to prevent the Excel file from closing?
within an Excel macro.
Dim oWord as Object
Dim oDoc as Object
Set oWord = CreateObject("Word.Application")
oWord.Visible = True
Set oDoc = oWord.Documents.Open("C:\personal\bob\personal\CV - RP
(short).doc")
It works fine but it also closes the Excel file that contains the macro. Is
there a way to prevent the Excel file from closing?