ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Runtime error '462'. The remote server doesn't exist (https://www.excelbanter.com/excel-programming/376538-runtime-error-462-remote-server-doesnt-exist.html)

Newbie

Runtime error '462'. The remote server doesn't exist
 
Hello,
I have 2 VBA procedures which create a Word document from 2 different
templates : Model1 or Model2, stored in the same directory:
Set wrdDoc = Documents.Add(Template:="\\Server\Mes documents
SVR\Pilotage\Model1.dot", Visible:=False)
The 2 procedures ran many times without any problem, but today one of them
generates the error message:

"Runtime error '462'. The remote server doesn't exist or is not available."
What could be the cause of this error?
Thanks for your help!

Newbie



[email protected]

Runtime error '462'. The remote server doesn't exist
 
Hi
did you check the server was available?????
regards
Paul

Newbie wrote:
Hello,
I have 2 VBA procedures which create a Word document from 2 different
templates : Model1 or Model2, stored in the same directory:
Set wrdDoc = Documents.Add(Template:="\\Server\Mes documents
SVR\Pilotage\Model1.dot", Visible:=False)
The 2 procedures ran many times without any problem, but today one of them
generates the error message:

"Runtime error '462'. The remote server doesn't exist or is not available."
What could be the cause of this error?
Thanks for your help!

Newbie



Newbie

Runtime error '462'. The remote server doesn't exist
 
Hi Paul,
Yes, the server is available : the first macro which uses the first template
(close to the second one in the same directory) works fine!
Newbie

a écrit dans le message de
oups.com...
Hi
did you check the server was available?????
regards
Paul

Newbie wrote:
Hello,
I have 2 VBA procedures which create a Word document from 2 different
templates : Model1 or Model2, stored in the same directory:
Set wrdDoc = Documents.Add(Template:="\\Server\Mes documents
SVR\Pilotage\Model1.dot", Visible:=False)
The 2 procedures ran many times without any problem, but today one of

them
generates the error message:

"Runtime error '462'. The remote server doesn't exist or is not

available."
What could be the cause of this error?
Thanks for your help!

Newbie






All times are GMT +1. The time now is 01:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com