Not a product class instance: <name>

Where a reference to a product object was expected in an On Event statement, you used the name of something else. In an On Event statement, the name specified in the From clause must be a product object reference variable, the name of a function or property that returns a product object reference, or a Variant that holds a product object reference.

If a product object was intended, make the reference be to the intended product object. Otherwise, remove the statement.