Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The Protection.VerifyPassword method returns true if the specified password matches the password used to protect the given worksheet and false if the specified password does not match. The following piece of code uses the Protection.VerifyPassword method in conjunction with the Protection.IsProtectedWithPassword property to detect password protection and verify the password.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.