Permission & Access Issues

How to Prevent Users from Editing or Saving a Read-Only Excel File in WPS Office

Adam DavisAdam Davis Nov 13, 2026 869 views

Question details

The user needs to restrict edits to an Excel workbook shared through OneDrive so that viewers must enter a password before they can modify or save changes.

How to Prevent Users from Editing or Saving a Read-Only Excel File in WPS Office
Product
WPS Office Spreadsheet / Microsoft Excel workbook
Device & OS
not provided
Scenario
The workbook is shared through OneDrive and the owner wants read-only distribution while allowing only authorized users to edit separate copies.
Observed behavior
The file opens read-only, but users can still click Edit Anyway and modify or save the original unless a password to modify is enabled.
Before you start

Open the workbook in WPS Spreadsheet or Microsoft Excel and make sure you can access the Save As dialog. If the file is stored in OneDrive or SharePoint, use the desktop application rather than the web viewer so that Tools > General Options is available.

Solution 1Recommended

Require a Password Before Users Can Modify an Excel Workbook

Use this solution to keep the workbook viewable while preventing edits and saves unless the user enters a modify password.

The password-to-modify setting is stored in the workbook and works when you save in the Excel .xlsx format. For stronger protection, combine it with view-only sharing permissions.

1
Open Save As in WPS Spreadsheet

Open the workbook in WPS Spreadsheet, click the File menu, and select Save As. Choose the Excel Workbook (.xlsx) format and click Tools > General Options in the Save As dialog.

2
Set the Password to Modify field

In General Options, type a password in the Password to modify box, click OK, and confirm the password when prompted. Keep this password different from the Password to open field so viewing is still allowed.

3
Save and share the protected file

Click Save to overwrite the existing file or save it as a new file name, then share that saved file through your cloud folder, OneDrive, or SharePoint with view permissions. Recipients must enter the modify password to edit or save.

Require a Password Before Users Can Modify an Excel Workbook
Protection applied: Users can open and read the workbook, but they cannot edit or save changes without the password. Store the password securely because it cannot be recovered if lost.
WPS Spreadsheet protection

Protect a Read-Only Excel Workbook with WPS Spreadsheet

WPS Spreadsheet can set a password to modify an Excel-compatible workbook, so only viewers who enter the password can change or save the original file. It keeps the familiar Save As workflow while producing a file that remains fully compatible with Microsoft Excel.

  1. 1. Open the workbook in WPS Spreadsheet: Launch WPS Office and open the .xlsx file you want to protect, or click File > Open to browse to the workbook.
  2. 2. Access Save As options: Click File > Save As, choose Excel Workbook (.xlsx) as the format, and then click Tools > General Options in the Save As dialog.
  3. 3. Set the modify password: Enter a password in the Password to modify field and confirm it. If you also want to prevent opening, set the Password to open field separately.
  4. 4. Save and distribute the protected file: Click OK, save the workbook, and share it through your cloud folder or file-sharing method. Users without the modify password will be unable to edit or save the original.
Requires a password to modify before any cell edits or save changes can be madeSaves in the same .xlsx format used by Microsoft ExcelFree, lightweight, and available on Windows, macOS, Android, and iOSUses the familiar File > Save As > Tools > General Options workflowCan be combined with sheet and range protection for layered access control
microsoft office alternative - wps office

Frequently Asked Questions

Why do users still see the Edit Anyway option on a read-only Excel file?

The Edit Anyway button appears when a file is marked Read-Only Recommended or is opened from a location that allows modification. To require a password before editing, use File > Save As > Tools > General Options and set the Password to modify field.

Can I hide the Edit Anyway button completely in Excel?

There is no standard workbook setting that reliably hides Edit Anyway. The practical ways to prevent editing or saving are password-to-modify protection, view-only sharing permissions, and distributing separate copies for editors.

What is the difference between password to open and password to modify?

Password to open prevents the workbook from being opened at all. Password to modify allows users to open and read the file but requires a password before they can edit or save changes.

Does worksheet protection replace a password to modify?

No. Worksheet protection limits cell edits but is not strong security and can often be bypassed by users with file access. For sensitive files, use a workbook-level modify password and restrict sharing permissions.

Can WPS Spreadsheet set a password to modify on an Excel file?

Yes. Open the .xlsx file in WPS Spreadsheet, click File > Save As, choose the Excel Workbook format, and select Tools > General Options to set the Password to modify field.