Wednesday, February 24, 2010

Pagesetup For A Poster Error Automating MS Word Using Excel Error - The Remote Server Machine Does Not Exist Or Is Unavailable?

Error Automating MS Word using Excel Error - The remote server machine does not exist or is unavailable? - pagesetup for a poster

Hello,

I use the automation of MS Word, MS Excel (do not ask me why. I just do not). The problem is that when I open automate, for example, for the first time, Word (Word to the new document, add text, layout, text formatting, etc ... works) well. So next I agree this document, the word and try to automate others. Suddenly I get the error "The remote server does not exist or is unavailable. The line that the error" appWord.ActiveDocument.PageSetup causes. Search on Google, without (to find a solution, or if he, in his expert exchanges I have to pay elsewhere or simply not) to load for some unknown reason. I think this error occurs when the 2nd Time that I try to automate Word, which tries to returnthe first (or Word document, recently closed), when I call Active Document. Is it possible without the use of "Active Document" and perhaps some other code PageSetup?

I have many posts, because of this error read ActiveDocument much.

I do my set of objects that mean nothing at the end of each sub-request (the "Together AppWord = nothing" ... etc.).

I can not omit this part of Active Document. Can anyone help?

Thank you.

0 comments:

Post a Comment