I am running a macro from Outlook that calls the Word
Application. This macro will find a text file, open it
in word, do some formatting, archive the file, attach it
to the email that is currently open, then close Word.
This program works fine the first time, but If I want to
run it again, I have to go into VBA/Tools/References
deselect the "Micrsoft Word 8.0 Library", click on the OK
button, then go back and select it again.
The error message that I'm getting is:
Run-time error '462' The remote server machine does not
exist or is unavailable.
It is stopping on line 64 of the attached program, "With
ActiveDocument.PageSetup"
Any ideas or solutions would be greatly appreciated.
Thanks,
Sam
|
|
Outlook Program for Steph.txt
4K
Download
|