Cannot run the macro 'Main'

Hi @Gopi_Krishna1

Have you passed the sheet name and method name correctly. If possible share the workflow.

Check out the thread too

Regards