How to Fix Excel 365 Insert Row or Column Option Disabled on Right-Click
Question details
The user is unable to use the right-click context menu to insert rows or columns in Excel 365, although the ribbon button and keyboard shortcuts still function normally.

- Product
- Microsoft Excel 365
- Device & OS
- Windows
- Scenario
- Attempting to insert a row or column using the right-click context menu in an active worksheet.
- Observed behavior
- The 'Insert' option is greyed out or completely missing from the right-click context menu, while alternative insertion methods like the Home ribbon or 'Ctrl+Shift+=' still work.
Before troubleshooting advanced settings, verify that the current worksheet is not protected, as sheet protection inherently disables structural changes like inserting rows or columns.
Reset the Right-Click Context Menu Using VBA
Run a short VBA macro to reset Excel's internal command bar settings, which usually restores missing or disabled right-click menu items.
Sometimes Excel's customized context menus become corrupted, often due to software glitches or misbehaving add-ins. Using a VBA script forces Excel to rebuild its default menus from scratch.
Close all active Excel windows, open a fresh instance of Excel, and press `Alt + F11` to launch the VBA Editor.
Click on 'Insert' in the top menu bar of the VBA editor and select 'Module' to create a blank standard module.
Copy and paste the following code into the empty module window: `Sub Reset_Cells(): CommandBars("Cell").Reset: CommandBars("Row").Reset: CommandBars("Column").Reset: End Sub`
Press `F5` on your keyboard or click the green 'Run' button. Close the VBA editor and test the right-click menu to see if the Insert option is restored.

Disable Worksheet Protection
Ensure the workbook or worksheet isn't locked, which naturally prevents row and column modifications.
Perform a Clean Boot to Check for Software Interference
Third-party security software or DLP (Data Loss Prevention) add-ins can sometimes hijack or disable Excel's context menus.
Try WPS Office for a Bug-Free Spreadsheet Experience
If Microsoft Excel 365 continues to experience missing menu options or corrupted settings, consider switching to WPS Office. It provides a lightweight, highly compatible alternative that handles your existing Excel files flawlessly without complex menu troubleshooting.
- 1. Download WPS Office: Get the free installer from the official WPS website and complete the quick setup.
- 2. Open Your Spreadsheets: Right-click your existing .xlsx file and select 'Open with WPS Office'.
- 3. Edit Without Limitations: Enjoy full editing capabilities, including flawless right-click row and column insertions, instantly.

Frequently Asked Questions
Why is the Insert option greyed out only on the right-click menu and not the ribbon?
This typically occurs due to corrupted internal CommandBar settings in Excel, or because a third-party add-in has specifically hijacked or modified the context menu. Resetting the CommandBars via a VBA macro usually resolves the discrepancy.
Does worksheet protection disable the Insert command everywhere?
Yes. If a worksheet is protected without explicitly allowing users to insert rows and columns, the Insert option will be disabled simultaneously on both the main ribbon and the right-click context menu.
Can a Windows update or security software cause Excel's context menu to malfunction?
Yes. Aggressive security software, such as Data Loss Prevention (DLP) add-ins, or occasional glitches following a Windows update can interfere with Office UI elements. Performing a Windows Clean Boot helps identify if background software is causing the conflict.




