Error 18. COM object variable is not initialized or has invalid type (valid COM object handle required)

Occurs on attempt to use uninitialized variable or variable of incorrect type to call COM object methods:

Obj = 1;  // initialize as number
Obj.Test();
// attempt to call method fails because Obj is not COM object handle