Please make absolutely clear which line is throwing the error.

The "Object Required" error tells you, that an object variable which should hold the reference to an object, has the value of...