logo
search
File Sharing Problems

How to Share an Excel File as Read-Only and Replace It in OneDrive

Chanuka GeekiyanageChanuka Geekiyanage Oct 7, 2026 869 views

Question details

The user needs to share an Excel workbook with Mac users as read-only via OneDrive and replace it frequently without encountering file lock errors or users seeing outdated versions.

How to Share an Excel File as Read-Only and Replace It in OneDrive
Product
Microsoft Excel / OneDrive
Device & OS
Mac
Scenario
Sharing a frequently updated Excel workbook with multiple users while preventing them from editing or locking the file.
Observed behavior
When the owner attempts to replace the file, OneDrive reports it as locked by other users, or users continue to see older versions after the replacement.
Before you start

Ensure you have owner permissions to manage the sharing link settings on the OneDrive file, and notify your recipients that the file will be updated frequently.

Solution 1Recommended

Prevent File Locking by Setting View-Only Permissions

Changing the sharing link permissions to 'Can view' ensures that recipients cannot lock the file for editing, allowing the owner to overwrite it seamlessly.

When an Excel file is shared with 'Can edit' permissions, OneDrive automatically locks the file while users have it open to prevent conflicting changes. By restricting access to view-only, the file remains unlocked, allowing you to upload and replace the workbook at any time.

1
Open OneDrive

Open a web browser and navigate to OneDrive.com, then sign in to your Microsoft account.

2
Access Sharing Options

Locate the Excel file you want to share, click the ellipsis (...) next to the file name, and select Share from the context menu.

3
Modify Link Settings

In the sharing dialog, click on the current link permissions (e.g., 'Anyone with the link can edit') to open the link settings.

4
Set to View-Only

Under 'More settings', change the permission dropdown from 'Can edit' to 'Can view', then click Apply.

5
Share the Link

Copy the new view-only link and distribute it to your Mac users. View-only access will prevent them from locking the workbook.

Prevent File Locking by Setting View-Only Permissions
Refreshing for Latest Updates: If users already have the file open in their browser or app when you replace it, they will not see the updates automatically. They must refresh the web page or close and reopen the workbook to load the newest version.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Management

If you frequently experience file locking issues or syncing delays with Microsoft Excel and OneDrive, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for creating, editing, and sharing your spreadsheets without the hassle.

Free and lightweight alternative to Microsoft Office.Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Built-in WPS Cloud for easy, read-only file sharing and seamless updates.Familiar user interface for a smooth and immediate transition.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive say my Excel file is locked for editing?

This occurs when a user accesses the file using a link that has 'Can edit' permissions. Excel locks the file to prevent conflicting changes, which stops you from being able to replace or overwrite the file from your end.

How do I force Mac users to see the updated Excel file?

Users who already have the file open in their browser or application must refresh the webpage or completely close and reopen the file to fetch the latest version you uploaded.

Can I overwrite a shared file without breaking the original link?

Yes, if you upload a new file with the exact same name and extension to the same folder in OneDrive, it will replace the existing file. The original sharing link will remain active and direct users to the newly updated version.

Will setting the file to read-only prevent users from downloading it?

No. By default, users with 'Can view' permissions can still download a local copy of the Excel file. If you want to prevent downloads entirely, you need to toggle the 'Block download' option in the OneDrive link settings.