Office Settings & Configuration

How to Fix Excel 365 Insert Row or Column Option Disabled on Right-Click

Chanuka GeekiyanageChanuka Geekiyanage Nov 2, 2026 868 views

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.

How to Fix Excel 365 Insert Row or Column Option Disabled on Right-Click
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 you start

Before troubleshooting advanced settings, verify that the current worksheet is not protected, as sheet protection inherently disables structural changes like inserting rows or columns.

Solution 1Recommended

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.

1
Open the VBA Editor

Close all active Excel windows, open a fresh instance of Excel, and press `Alt + F11` to launch the VBA Editor.

2
Insert a New Module

Click on 'Insert' in the top menu bar of the VBA editor and select 'Module' to create a blank standard module.

3
Paste the Reset Code

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`

4
Run the Macro

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.

Reset the Right-Click Context Menu Using VBA
Context Menu Restored: This script instantly resets the Cell, Row, and Column command bars, effectively resolving corruption-based missing options.
Free Microsoft Office alternative

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. 1. Download WPS Office: Get the free installer from the official WPS website and complete the quick setup.
  2. 2. Open Your Spreadsheets: Right-click your existing .xlsx file and select 'Open with WPS Office'.
  3. 3. Edit Without Limitations: Enjoy full editing capabilities, including flawless right-click row and column insertions, instantly.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Lightweight installation with blazing fast startup times.Intuitive ribbon interface with a reliable right-click context menu for rows and columns.Free to use for everyday spreadsheet tasks and data analysis.
microsoft office alternative - wps office

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.