How to Remove VBA Password from Excel File
The following steps explain how to remove VBA password from an Excel file:
- Open the Excel file that contains the VBA project.
- Press
ALT + F11
to open the VBA editor. - In the VBA editor, go to the “Tools” menu and select “VBAProject Properties”.
- A new window will appear. Go to the “Protection” tab.
- Uncheck the “Lock project for viewing” checkbox.
- Enter the current password in the “Password” field.
- Click “OK” to save the changes.
- Close the VBA editor and save the Excel file.
Now, the VBA password for the Excel file should be removed. You can verify this by reopening the VBA editor and making sure no password prompt appears.
Note: Removing a VBA password is only possible if you know the current password. If you have forgotten the password, you may need to use third-party software specifically designed for VBA password recovery.