>I tried
>
>if vartype(loWord.visible) = 'U'
> loWord = createobject("Word.Application")
>endif
>
>
>I get an error message that "RPC server is unavailable". How do I check if the server is available?
>
Strange error and strange check. Did you first check that loWord is an object?
Always wrap createobject in try/catch block.
If it's not broken, fix it until it is.
My Blog