Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Viewer Mode: How to View and Protect Workbooks

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Excel viewer mode is achieved by setting a workbook to "Read-Only" or restricting editing permissions, which prevents users from making accidental changes to formulas, data, and formatting. This is primarily done via the File menu's Info settings or by adjusting file properties in the operating system. Depending on your version of Excel—whether you are using the desktop application on Windows or macOS, or the web-based version—the specific menu labels may differ slightly.

What You'll Need

  • A computer with Microsoft Excel installed or a web browser with access to Excel Online.
  • A saved Excel workbook (.xlsx or .xlsb) that you wish to protect.
  • Administrative permissions for the file or folder where the workbook is stored.
  • An optional password if you intend to lock the file against unauthorized editing.

Step-by-Step

  1. Open the Workbook: Launch Microsoft Excel and open the specific file you want to set to viewer mode. Ensure you have saved all current changes before proceeding, as some restriction settings are applied upon the next save or open cycle.
  2. Access the Info Menu: Click on the File tab in the top-left corner of the ribbon. From the sidebar menu, select Info. This section contains the backend metadata and protection settings for the current document.
  3. Apply Protection: Look for the Protect Workbook button. Clicking this will open a dropdown menu with several options to restrict how others interact with the file.
  4. Select Always Open Read-Only: From the dropdown, select Always Open Read-Only. This does not physically lock the file with a password, but it prompts every user who opens the file with a message asking if they want to open it in read-only mode. This is the most common way to implement a "viewer mode" for collaborative files where you want to discourage accidental edits.
  5. Set a Password for Modifying (Optional): If you require a stricter viewer mode, go back to the Protect Workbook menu and select Encrypt with Password or look for the Save As options. When using Save As, click the Tools button (usually located next to the Save button in the dialog box) and select General Options. Here, you can enter a password in the "Password to modify" field. Leave the "Password to open" field blank if you want anyone to be able to view the file, but only those with the password to edit it.
  6. Protect Specific Sheets: If you want users to be able to edit some cells but view others in a locked state, go to the Review tab on the main ribbon and select Protect Sheet. You can then check or uncheck specific permissions, such as "Select locked cells" or "Select unlocked cells." This creates a hybrid viewer mode where only designated input areas are editable.
  7. Save and Close: Once these settings are applied, save the workbook. Close the application to ensure the settings are written to the file metadata.
  8. Verify the Mode: Re-open the file. You should see a yellow bar at the top of the screen stating that the author would like you to open this read-only. Click "Yes" to enter viewer mode.

Common Mistakes

One of the most frequent mistakes is confusing "Read-Only Recommended" with a hard password lock. If you select "Always Open Read-Only," a user can still click "No" or "Edit Anyway" to bypass the warning and change the data. To truly force a viewer mode, you must use the "Password to modify" feature in the General Options menu.

Another common error is protecting the workbook structure but forgetting to protect the individual sheets. Protecting the workbook prevents users from adding, deleting, or renaming sheets, but it does not stop them from changing the data inside the cells. To prevent data manipulation, you must apply "Protect Sheet" to every individual tab within the file.

Users often forget to test the file from a different user account or a different computer. Because you are the owner/creator of the file, some versions of Excel may allow you to bypass certain restrictions automatically. Always send the file to a colleague or open it in a guest session to confirm the viewer mode is active for others.

Finally, some users attempt to set a file to read-only via the Windows File Explorer properties but then save the file normally within Excel. If you save the file as a new version or "Save As" a different name, the operating system's read-only attribute is stripped away from the new file, and the viewer mode is lost.

Tips

To make your viewer mode more professional, use the "Protect Sheet" feature in combination with "Hide Formulas." In the Format Cells menu, under the Protection tab, check "Hidden." When you then protect the sheet, the formulas will not appear in the formula bar at the top, meaning users can see the results of your calculations but cannot see the logic behind them.

If you are sharing a file via OneDrive or SharePoint, avoid using the internal Excel password settings. Instead, use the "Share" button in the top right corner. Click on the "People you specify can edit" link and change the permission to "Can view." This is a more robust way to manage viewer mode in a cloud environment because it manages permissions at the account level rather than the file level.

Consider creating a "Instructions" tab that is left unlocked while the rest of the workbook is in viewer mode. This allows you to explain to the user why the file is locked and who they should contact if they need to request an edit, reducing the number of support emails you receive.

For very large datasets, using the "Read-Only" attribute can slightly improve loading times on some network drives because Excel does not have to establish a write-lock on the server immediately upon opening.

Troubleshooting

If the file is still editable after setting it to Read-Only: Check if you used the "Always Open Read-Only" option. As mentioned, this is a suggestion, not a restriction. To fix this, go to Save As > Tools > General Options and set a "Password to modify." This forces the user to provide a key before they can enter edit mode.

If you cannot remove the viewer mode: Ensure you are not opening the file from a zipped folder or a read-only network drive. If the file is stored on a server where you only have "Read" permissions, Excel will force the file into viewer mode regardless of the internal settings. Move the file to your local desktop to see if the restriction persists.

If the "Protect Workbook" options are greyed out: This usually happens if the workbook is currently shared using the legacy "Shared Workbook" feature or if it is open in another application. Disable the legacy sharing feature under the Review tab or ensure all other instances of the file are closed before trying to apply protection.

If you forgot the password to modify: Microsoft does not provide a built-in way to recover passwords for modified workbooks. Your best option is to check if you have a previous version of the file saved in a backup or an older version in the OneDrive version history. If the file is not password-protected for opening, you can often copy the data from the viewer mode version and paste it into a brand new workbook, effectively stripping the edit-lock.

Frequently Asked Questions

Can I set a file to viewer mode without a password?

Yes, by using the "Always Open Read-Only" setting in the Info menu. This prompts users to view the file as read-only but allows them to bypass it if they choose to edit.

Does viewer mode stop people from copying my data?

No. Even in read-only or protected mode, users can typically select cells, copy them, and paste them into a new, unprotected workbook. To prevent copying, you would need advanced Information Rights Management (IRM) software.

Is viewer mode different on Excel for the Web?

Yes. In the web version, viewer mode is managed through the sharing permissions. You set the link to "Can view" instead of "Can edit," which removes the editing toolbar for the recipient.

Can I lock only certain cells while keeping the rest in viewer mode?

Yes. Select the cells you want to remain editable, right-click, go to Format Cells > Protection, and uncheck "Locked." Then, go to the Review tab and select Protect Sheet. Only the unchecked cells will be editable.

Will viewer mode work if I email the file as an attachment?

Yes, if you used the "Password to modify" or "Protect Sheet" options, those settings are embedded in the file and will travel with the attachment to the recipient's computer.

Can a user bypass viewer mode by renaming the file?

Renaming the file does not remove internal Excel protections like sheet passwords or modification passwords. However, if you only set the file to read-only via Windows File Explorer properties, renaming or moving the file can sometimes reset that attribute.