You attempted to use an object property without a valid object. If you leave out the Set statement, an error will be generated on the reference to the object.
To correct this error
Specify a reference for the object variable.
Property Set Statement