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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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)
 
Back
Top