G
Gina
Hi.
This is driving me crazy ... have posted before but maybe I wasn't clear in
my description as I havn't got an answer
her's my problem
I send some records from access to bookmarks in word
herefore I use
_________________________________________
Set WD = CreateObject("Word.Document")
template = CurrentProject.Path & "\Invoice.dot"
Set DC = Word.Documents.Add(template)
_________________________________________
all works fine .as long as I do only close the actual document in the
upcoming word where my invoice shows up and not the whole word application.
when I close the whole application the next time around when I want to open
word I get an error in the following line
_______________________________________
--> Set DC = Word.Documents.Add(template)
_______________________________________
I get a (Runtime Error: 462) message telling that the
'remote-server-computer doesn't exist or isn't available'
I can press 'Stop' or 'Finish' or 'Debug' (sorry, translated from a German
Version)
If I press 'Debug' the above line --> is highlighted
If I press 'Stop' and use my tool to access word again it works fine.
I have a sub which is called each time after records are sent to word
containing
__________________________________________
Set DC = GetObject(Word.ActiveDocument)
Set DC = Nothing
Set WD = Nothing
__________________________________________
Please anyone an idea of what this could be??
Gina
This is driving me crazy ... have posted before but maybe I wasn't clear in
my description as I havn't got an answer
her's my problem
I send some records from access to bookmarks in word
herefore I use
_________________________________________
Set WD = CreateObject("Word.Document")
template = CurrentProject.Path & "\Invoice.dot"
Set DC = Word.Documents.Add(template)
_________________________________________
all works fine .as long as I do only close the actual document in the
upcoming word where my invoice shows up and not the whole word application.
when I close the whole application the next time around when I want to open
word I get an error in the following line
_______________________________________
--> Set DC = Word.Documents.Add(template)
_______________________________________
I get a (Runtime Error: 462) message telling that the
'remote-server-computer doesn't exist or isn't available'
I can press 'Stop' or 'Finish' or 'Debug' (sorry, translated from a German
Version)
If I press 'Debug' the above line --> is highlighted
If I press 'Stop' and use my tool to access word again it works fine.
I have a sub which is called each time after records are sent to word
containing
__________________________________________
Set DC = GetObject(Word.ActiveDocument)
Set DC = Nothing
Set WD = Nothing
__________________________________________
Please anyone an idea of what this could be??
Gina