Outlook Calling Word App 
Author Message
 Outlook Calling Word App

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


Wed, 18 May 2005 08:34:35 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Outlook / Calling Word App

2. Warning when calling Outlook from VB app.

3. Looping sub for outlook/word app

4. Running Word and Outlook from VB app

5. Calling an Outlook Form from Word

6. Calling Outlook from Word

7. VBA call Outlook from Word

8. Calling MS-Word from button event click on outlook 98/2000

9. Call a Word 97 Macro from Outlook 2000

10. Calling an Outlook Form from Word

11. VBSript in Outlook - Calling Find.Execute in Word

12. How to call Word Sub from VB app?

 

 
Powered by phpBB® Forum Software