VBA does not expose VBProject passwords in its object model. The way password *******s do it is by trial end error using something like SendKeys or various Windows APIs to send trial passwords to the appropriate dialog box.
Remarks : "test" is my password
I think, problem is line#2, How can I do the "VBProject Password window" show?
I think, if we can do the "VBAProject Password" window show, we can use sendkeys to enter password.