Error 462 "The remote server machine does not exist or is unavaila

M

mscertified

Has anyone received this error?
Error 462 "The remote server machine does not exist or is unavailable"

I was writing an MS Word file from within Access.
It failed on this statement:

..TopMargin = InchesToPoints(1.2)

The code seems to work once but when I run it again, it fails with this error.

Any ideas?
 
R

RoyVidar

mscertified said:
Has anyone received this error?
Error 462 "The remote server machine does not exist or is
unavailable"

I was writing an MS Word file from within Access.
It failed on this statement:

.TopMargin = InchesToPoints(1.2)

The code seems to work once but when I run it again, it fails with
this error.

Any ideas?

Though the article refers to Excel automation, it gives a bit of info
on the error http://support.microsoft.com/default.aspx?kbid=178510

Basically, you need to "anchor" any objects, methods and properties of
the automated application to their relevant parent objects. You most
probably have an object representing the Word application oWord?

..TopMargin = oWord.InchesToPoints(1.2)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top