This example will demonstrate how to make an Excel workbook read-only. Users will still be able to save changes by creating a new copy of the workbook.
For better protection, protect the sheet.
- Open the book.
- On the Advanced tab Fillet (File), click Save As (Save as).
- Click on tools (Service) and select General Options (Common parameters).
- Enter the password in the field Password to modify (Password to change) and press OK.
Note: If you just want to tell users to open a read-only Excel file without protecting it, don’t enter a password and check the box next to Read-only recommended (Recommend read-only access).
- Enter your password again and click OK.
This function does not encrypt the Excel file. Attackers can edit the file and remove the password.
- Enter a filename and click on Save (Save).
The book is now read-only.