The macro code of an Excel document can be protected by a password.
Is there a way to detect whether an Excel macro is protected by a specific password? I would like to be able to validate the vba code to be protected by a specific password.
pseudo example (Java):
vbaProject.isProtectedBy("password"); // return true and only true when both the macro code is
protected and the protection password is 'password'.