Do you mean
>
>lcOldError = ON([ERROR])
ON ERROR
>loWord = createobject('Word.Application')
>ON ERROR &lcOldError
>If !TYPE("loWord") or ISNULL(loWord) THEN
> Messgabox(..)
> Return False
>endif
>
?
I don't know. I have no control over this system, and they reinstall office know. I have a tea in the meantime. ::)
Agnes
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]