> Hi everybody,
>
[quoted text clipped - 7 lines]
>
> How to close it?
oApp.Quit 0
Set oApp = Nothing
> .. and sometime, when I close server by myself, it will not start again in
> the future and I must to restart MS Access.
> How can I detect, if server is already running?
Try to access a running instance of Word using GetObject rather than
CreateObject. If that gives you an error, then try CreatObject. The
following article described more of this
Control Word from Excel
http://www.word.mvps.org/FAQs/InterDev/ControlWordFromXL.htm
The same code can be used from Access as from Excel.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Ondrej - 16 Jan 2005 13:28 GMT
Jonathan, thank you very much
Ondrej