How To Unshare An Excel File: Complete Removal And Access Revocation

How To Unshare An Excel File: Complete Removal And Access Revocation

10 Ways to Unshare an Excel File | How To Excel

Unsharing an Excel file requires navigating between the legacy Shared Workbook feature and the modern Co-authoring environment enabled by OneDrive and SharePoint. Successfully revoking access involves disabling the Share Workbook legacy mode or removing specific user permissions via the file’s cloud-based metadata management settings to restore full administrative control.


Prerequisites for Access Management and Workbook De-configuration

Before attempting to unshare a workbook, you must identify whether the file is using legacy shared workbook features or modern cloud-based co-authoring. Legacy sharing is a file-level property found in older .xls or .xlsx files that allows multiple users to edit simultaneously without cloud synchronization, whereas modern sharing relies on Microsoft 365 permissions.



  • System Requirements: Access to Microsoft Excel for Windows or Mac, with administrative privileges for the specific file if hosted on SharePoint or OneDrive.
  • Version Benchmarks: Ensure you are using Excel 2016, 2019, 2021, or Microsoft 365, as older versions lack the advanced "Stop Sharing" interface.
  • Connectivity Requirements: A stable internet connection is mandatory if the file is stored in a cloud environment to ensure that permission changes sync across all client instances.
  • Time Expectation: The de-configuration process typically requires 2 to 5 minutes, depending on network latency and the complexity of the user permission list.

Procedures for Disabling Workbook Sharing and Restricting Access



Step 1: Evaluating the Sharing Method

Determine if your file is being shared through the legacy Shared Workbook feature or via modern cloud-based sharing. If you see the "Share" button in the top-right corner of the interface, the file is likely managed via the cloud. If the filename in the title bar indicates "Shared," you are dealing with the legacy workbook model. If you cannot identify the mode, navigate to the Review tab on the Ribbon to see if "Share Workbook" is highlighted.



Step 2: Removing Legacy Shared Workbook Status

If you are working with a legacy file, you must manually disable the sharing property to regain exclusive control. Navigate to the Review tab in the Excel Ribbon. Click on "Share Workbook" located in the Changes group. A dialog box will appear displaying a list of users currently connected to the file. Uncheck the box labeled "Allow changes by more than one user at the same time." Click OK. You will receive a prompt stating that this action will disconnect all other users and merge any unsaved changes; confirm this action.



Step 3: Revoking Cloud-Based Access and Permissions

For files hosted on OneDrive or SharePoint, the sharing settings are managed via the web interface or the built-in share dialog. Click the "Share" button at the top right of the Excel application. Select "Manage Access" from the bottom of the sharing pane. This displays a list of all individuals and groups with access to the file. For each user or link entry, click the dropdown menu next to their name or the link and select "Stop Sharing" or "Remove." Once all entries are removed, the file is restricted solely to the owner.



Step 4: Finalizing Offline Backup and Local Versioning

Once access has been restricted, it is best practice to perform a local save to ensure that no cached instances are pending an upload. Go to File, then Save As, and choose a local directory on your machine. This overwrites any cloud-sync status and creates a clean, non-shared copy of your data. If you are working in a corporate environment, consult your IT department to ensure that internal policies regarding file encryption or sensitivity labeling have not been triggered by the removal of sharing permissions.


[Fixed] Unshare Workbook Option Greyed Out in Excel - Excel Insider

[Fixed] Unshare Workbook Option Greyed Out in Excel - Excel Insider

Comparison of Workbook Sharing Architectures and Limitations



Sharing Feature Technical Mechanism Primary Limitation Ideal Use Case
Legacy Shared Workbook File-level attribute (Shared) Incompatible with many Excel features (Macros/Tables) Offline multi-user local network access
OneDrive/SharePoint Metadata-based cloud permissions Requires internet for synchronization Collaborative reporting and real-time editing
Password Protection Encryption at the file header level Does not prevent multi-user access Restricting unauthorized viewing access
Protected Sheet Cell-level access restrictions Users can still open and view data Preventing accidental formula modification

Troubleshooting Common Access and Sharing Conflicts



  • Conflict: "Shared Workbook" Button is Grayed Out



    • Root Cause: The file may have been converted to a modern .xlsx format or is already protected by workbook structure settings.
    • Actionable Fix: Go to the Review tab, select "Protect Workbook," and ensure that structural protection is disabled before attempting to modify sharing attributes.
  • Conflict: User Access Remains After "Stop Sharing"



    • Root Cause: Cached credentials on the user’s local machine or browser session may still be granting access via a cached link.
    • Actionable Fix: Update the sharing link permissions in the cloud drive settings to "Specific People Only" or delete the generated sharing link entirely.
  • Conflict: File is "Locked for Editing" by an Unknown User



    • Root Cause: An orphaned session or an interrupted connection has left a hidden owner file (a lock file) on the server.
    • Actionable Fix: Access the folder directory via File Explorer, enable "Hidden items," and delete any file beginning with a tilde and dollar sign (~$filename.xlsx) to clear the temporary lock.

Frequently Asked Questions



Can I unshare an Excel file without losing my data?

Yes, unsharing an Excel file only removes the permission for other users to access or modify the document. Your raw data, formulas, and formatting will remain perfectly intact, although you will no longer see live updates from other contributors.



What happens to other users when I stop sharing a file?

Once you stop sharing, existing users will lose their ability to save changes back to your file. If they have the file open, they may receive a notification that they no longer have permission to save, and they will be prompted to save their version as a separate, local copy on their own machine.



Is it possible to see who has accessed a shared file?

Yes, if your file is hosted on SharePoint or OneDrive, you can view the activity history by selecting the file in the cloud interface and checking the "Details" or "Activity" pane. This provides a timestamped log of who opened, edited, or downloaded the file during the period it was shared.



Does turning off sharing remove the "Share" button?

Turning off the legacy shared workbook feature will return the file to single-user mode, but the cloud-based "Share" button remains part of the Excel ribbon interface by design. To prevent future sharing, you must manage permissions through the "Manage Access" menu rather than attempting to remove the button itself.

Optimize your data integrity and security by maintaining strict control over workbook access. Regularly audit your SharePoint or OneDrive permissions to ensure that proprietary company data remains restricted to authorized stakeholders only.


How to Combine Excel Files Manually & Automatically | 10XSheets

How to Combine Excel Files Manually & Automatically | 10XSheets

Read also: New electric cars will soon improve the marc penn line