>Frank,
>
>Here's how I use these two functions.
>
>VarType() is for checking the type of something that I know exists. It is faster than Type() in doing this, so if I know the item does exist I will use VarType() to check its data type.
>
>Type() is for checking things that I am not sure exist. It is slightly slower than VarType() but it never errors out for non-existant things.
Jim,
Wouldn't it be better to use VARTYPE() for variables, and to use PEMSTATUS() for objects? That way, you should never get an "error"?