Hi Sergey,
no, I didn't see it here. The error handler is simple
loWord = createobject('Word.Application')
If !TYPE("loWord") or ISNULL(loWord) THEN
Messgabox(..
Return False
endif
It seem that this is one one comp ony and this comp has other problems with word automation to. I wait for a new install of Office.
Agnes
>Hi Agnes,
>
>Maybe the error handler eats the error?
>
>>
>>no CREATEOBJECT simply returns no object.
>>
>>Agnes
>
>>>
>>>do you get an OLE error or any message at all? This happened to me once and re-installing Word fixed the problem, but I think I got an error message.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]