Visual Basic Scripting Edition  

Variable uses an Automation type not supported in VBScript

You attempted to use an unsupported data type from a type or object library. You cannot use all variables appearing in type or object libraries, in every programming language.

To correct this error

Only use variable types recognized by VBScript.

See Also

VBScript Variables | VarType Constants