Can You Remove the Comment and Share Buttons in Microsoft Office?
Question details
Users want to know if it is possible to remove or hide the Comment and Share buttons located in the upper-right corner of Microsoft Office applications to avoid accidental clicks when closing windows.

- Product
- Microsoft Office
- Device & OS
- not provided
- Scenario
- Navigating the user interface and trying to close or minimize a window, but accidentally clicking the Comment or Share buttons instead.
- Observed behavior
- The Comment and Share buttons are permanently fixed in the top right corner of the application window and cannot be moved or deleted easily.
Ensure your Microsoft Office suite is fully updated, as interface layouts and customization options can vary slightly between older and newer versions of the software.
Understand Microsoft Office Interface Limitations
Currently, standard Office settings do not allow users to remove or hide these collaboration buttons.
The Comment and Share controls are hardcoded into the title bar of modern Microsoft Office applications, such as Word, Excel, and PowerPoint.
Because Microsoft integrates these elements deeply into the core user interface to encourage cloud collaboration and OneDrive usage, there is no built-in option, registry tweak, or standard setting to disable or hide them.
Look at the top-right corner of your Word or Excel window. You will notice the Share and Comment buttons are placed directly adjacent to the window control buttons (Minimize, Maximize, Close).
To avoid accidental clicks when trying to close a document, use keyboard shortcuts like Ctrl + W to close the current file, or Alt + F4 to close the entire application.

Experience a Cleaner Interface with WPS Office
If the cluttered interface and forced collaboration buttons in Microsoft Office are disrupting your workflow, consider switching to WPS Office. It offers a clean, tabbed workspace that is completely free, less intrusive, and fully compatible with all standard Office formats.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your computer.
- 2. Open Your Files Seamlessly: Easily open your existing .docx, .xlsx, and .pptx files directly in WPS Office without losing any formatting.
- 3. Enjoy a Clutter-Free Workspace: Work comfortably in a clean, tabbed interface where you won't accidentally click unwanted sharing buttons when closing documents.

Frequently Asked Questions
Is there a registry hack to remove the Share button in Excel or Word?
No. In Microsoft 365 and newer versions like Office 2019 or 2021, the Share button is hardcoded directly into the application's title bar and cannot be safely removed or hidden via Windows Registry edits.
Can I customize the Ribbon to hide the Comment button?
While you can customize many tabs and commands on the Office Ribbon by navigating to File > Options > Customize Ribbon, the top-right Comment and Share buttons exist outside the standard Ribbon area and cannot be customized or hidden from this menu.
How can I avoid accidentally clicking Share when trying to close Word?
The most effective workaround is to rely on standard Windows keyboard shortcuts. Press Ctrl + W to close the active document or Alt + F4 to exit the program entirely, which eliminates the need to move your mouse near the top-right corner.




