Hi @MD_Farhan1
Please enable the macro settings for you excel.
Once you go to the below mentioned view by clicking the file option in excel then you please follow the steps:
After going to macros please enable all those settings and then please run the code
Regards