SET required on class instance assignment

You attempted to assign an object reference to a variable but omitted the Set keyword. (An object reference can be a reference to a user-defined object, a product object, an OLE automation object, or the constant NOTHING). The Set keyword is required in object reference assignments. For example:

Class MyClass
'...
End Class
Dim varV As Variant
Dim otherVarv As Variant
Dim X As New MyClass
Set varV = X
otherVarV = varV			' Illegal.
otherVarV = New varV		' Illegal.
Set otherVarV = varV		' Legal.
Set otherVarV = New varV	' Legal.

Include the Set keyword in the assignment statement or remove the statement.