Context: MS-WORD accessed by MS-ACCESS
Subject: Error -2147023174 (800706ba)at 2nd try
One of our Access-databases perfoms VBA-Code in WORD (via object WORD.Application).
At the first try, it always succeeds and creates a beautiful document containing all relevant data.
But at the 2nd try it always produces runtime-Error "-2147023174 (800706ba)" -
"RPC-Server not available" (German: "Automatisierungsfehler Der RPC-Server ist nicht verfügbar").
Even more misterious: This error is produced not at creating or changing the document, but at:
oWord.Selection.ParagraphFormat.LeftIndent = CentimetersToPoints(0). This object exists, it has got a value which can be changed (in control-window or in WORD), but "RPC-Server not available" causes Access to stop. By now this error can only be handled by closing ACCESS.
What is this Error? Does anyone have any idea about
- which program produces this error (WORD? ACCESS? WinNT/certain service-pack?)
- how to fix it?
Subject: Error -2147023174 (800706ba)at 2nd try
One of our Access-databases perfoms VBA-Code in WORD (via object WORD.Application).
At the first try, it always succeeds and creates a beautiful document containing all relevant data.
But at the 2nd try it always produces runtime-Error "-2147023174 (800706ba)" -
"RPC-Server not available" (German: "Automatisierungsfehler Der RPC-Server ist nicht verfügbar").
Even more misterious: This error is produced not at creating or changing the document, but at:
oWord.Selection.ParagraphFormat.LeftIndent = CentimetersToPoints(0). This object exists, it has got a value which can be changed (in control-window or in WORD), but "RPC-Server not available" causes Access to stop. By now this error can only be handled by closing ACCESS.
What is this Error? Does anyone have any idea about
- which program produces this error (WORD? ACCESS? WinNT/certain service-pack?)
- how to fix it?