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'.
@RickOo,
There is no such option available in the current library, however, we have logged a ticket in our database to investigate this requirement. We will write back here once any update is available in this regard.
This requirement is logged as: CELLSJAVA-43375 - Check Excel VBA password
@RickOo,
This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.