D
Dave C
I have a button that opens Word and then displays the file open dialog box.
The code I'm using is:
Dim oApp as Object
Set oApp = CreateObject("Word.Application")
oApp.Visible = True
Dialogs(wdDialogFileOpen).Show
This works fine the first time it's run but after Word is closed and the
button is clicked again Word opens and I get the following error message:
"Run Time Error 462"
"The remote server machine does not exist or is unavailable"
I would be grateful for any suggestions as to why this is happening and
moreso for a solution to the problem.
Thanks in advance
Dave
The code I'm using is:
Dim oApp as Object
Set oApp = CreateObject("Word.Application")
oApp.Visible = True
Dialogs(wdDialogFileOpen).Show
This works fine the first time it's run but after Word is closed and the
button is clicked again Word opens and I get the following error message:
"Run Time Error 462"
"The remote server machine does not exist or is unavailable"
I would be grateful for any suggestions as to why this is happening and
moreso for a solution to the problem.
Thanks in advance
Dave