I am opening the sample & when running the macro the VB edititor is opening & cursor is pointing towards Ln24, Col 17

Pop up "Compile Error: Variable Not defined.

Please help. Unable to use the macro

Thanks