-
I'm activating an instance of word.application from a button click. I'm able to save the file name right away. When I close word via FILE>EXIT, everything 'seems' to be OK. I then try to press the launch word again (no instance of word is running by this time) and I receive a runtime error #642 that states: "The remote server machine does not exist or is unavailable..."
Now, if I halt execution and restart the program, I'm able to do everything I want (launch word, save to specified file name programmatically, etc.). I close word, try to launch again via a button on my VB form and receive the same error.
(uneducated observation) Something is not releasing the word application or file saving ability the second time I launch the word application.
Any ideas?
Helplessly,
Mark
-
Are you doing both
wdApp.Quit
Set wdApp = Nothing
when you exit?
-
I am having the same problem as this. Did you manage to solve this problem. If you did can you please tell me how you did it