Technical ReferenceMacroBasic Language TypeOf Operator Syntax TypeOf expr Is objtype Group Operator Description Return the True if expr refers to an object of objtype. See Also Objects Example Sub Main Debug.Print TypeOf Err Is ErrObject ' True End Sub