Open the Excel file
Go to the Review tab
Click Unprotect Sheet
Enter the password if prompted
Go to the Review tab
Click Unprotect Workbook
Enter the password if prompted
If the file is password-protected to open, enter the correct password when opening it
If you do not know the password, contact the file owner or administrator
Save the file after unlocking it
