There is no code included in the message to review.However, a common reason for this error is that you have tried to assign anobject reference to a variable without using the "Set" keyword.