Hi jack, thanks for response, the excel file is not protected rather the vba project residing in it is protected. I need to unprotect this vba project using this script. Codeomnitrix, thanks for the Ò€¦