Execute VBA on protected by password VBA project

Hello,

I have a process where I need to open a password protected excel file and then execute a VBA code. However the VBA project is also protected by a different password and I can’t find a solution to unlock it upstream (there is an option only for the password of the file opening in the excel application scope). During the execution of the VBA code I have an error “Invoke vba impossible, protected by a password”. How can i execute my VBA code on a protected password VBA Project (i got the password) ?