excel vba password protect

The solution for “excel vba password protect” can be found here. The following code will assist you in solving the problem.

‘ Password for opening
ThisWorkbook.SaveAs Password:=”my_password”
‘ Access granted, password required for modification
ThisWorkbook.SaveAs writeResPassword:=”my_password2″

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts