logo
search
Office Settings & Configuration

How to Remove Comments, Editing, and Share Buttons in Microsoft Office

Camila MilosovichCamila Milosovich Oct 13, 2026 868 views

Question details

The user is looking for a way to remove the newly added Comments, Editing, and Share buttons from the Microsoft Office interface, as they add unnecessary steps and occasionally cause existing VBA macros to crash.

How to Remove Comments, Editing, and Share Buttons in Microsoft Office
Product
Microsoft Office
Device & OS
not provided
Scenario
Attempting to clean up the workspace by hiding forced UI elements and troubleshooting macro crashes triggered by the new interface layout.
Observed behavior
The buttons remain persistently visible and cannot be hidden through standard settings. Furthermore, running macros with screen updating disabled causes the Office application to crash.
Before you start

Ensure you have your Microsoft Office account details handy to check for any administrative policies, and always back up your VBA macro code before modifying it.

Solution 1Recommended

Troubleshoot Macro Crashes by Modifying ScreenUpdating Code

If the new interface elements cause your macros to crash, adjusting the ScreenUpdating property in VBA can resolve the conflict.

Recent UI updates in Microsoft Office can interfere with macro execution when the screen rendering is paused. Temporarily modifying or removing the specific line of code that disables screen updating is currently the most effective workaround for this crash.

1
Open the VBA Editor

Press Alt + F11 while in your Office application to launch the Visual Basic for Applications (VBA) editor.

2
Locate the ScreenUpdating Code

Search the code of the crashing macro for the line 'Application.ScreenUpdating = False'.

3
Comment Out the Code

Add an apostrophe at the beginning of the line (e.g., 'Application.ScreenUpdating = False) to disable it, or delete the line completely.

4
Test the Macro

Save your code, close the editor, and run the macro again to verify that the application no longer crashes.

Troubleshoot Macro Crashes by Modifying ScreenUpdating Code
Macro Performance: Removing this line may cause the screen to flicker while the macro runs, but it successfully prevents the application from crashing due to UI rendering conflicts.
Free Microsoft Office alternative

Try WPS Office for a Cleaner, Distraction-Free Workspace

If forced interface updates in Microsoft Office are disrupting your workflow or breaking your macros, WPS Office provides an excellent alternative. It offers a streamlined interface without mandatory UI clutter, ensuring a smooth experience for document editing.

Highly customizable interface without unremovable sharing buttons.High compatibility with Microsoft Office formats like .docx, .xlsx, and .pptx.Lightweight software footprint for faster loading and stable performance.Free to download and use with a highly familiar user experience.
QA img-9

Frequently Asked Questions

Can the Share button be hidden in Office 2021?

No. In Office 2021 and recent Microsoft 365 versions, the Share, Comments, and Editing buttons are permanently integrated into the application interface and cannot be hidden natively.

Why does 'Application.ScreenUpdating = False' cause crashes after updating?

Recent changes to how the Office interface renders—specifically involving the new permanent action buttons—can create conflicts when VBA tries to pause screen updates, resulting in an application crash.

Can IT administrators remove these buttons via organizational policy?

While administrators have extensive control over Office configurations, Microsoft does not currently provide a specific Group Policy Object (GPO) to hide these particular UI elements.