How to Stop Excel From Opening Menus When Typing a Forward Slash
Question details
The user needs to prevent Excel from triggering menu commands when entering a forward slash at the beginning of a cell.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Entering specific text values that start with a forward slash, such as CIDR notations (e.g., /24 and /27).
- Observed behavior
- Instead of typing the forward slash into the cell, Excel interprets it as a shortcut and opens the top menu commands.
Ensure your current workbook is saved, as modifying advanced application settings will apply changes globally to all your spreadsheets.
Disable the Microsoft Excel Menu Key in Advanced Settings
By clearing the legacy Lotus compatibility menu key in Excel's options, you can stop the forward slash from triggering the top menu ribbon.
Microsoft Excel includes a legacy feature designed to help users transition from Lotus 1-2-3, where the forward slash (/) was used to open the main menu. Disabling this compatibility setting allows you to type forward slashes directly into cells without interruption.
Click on 'File' in the top-left corner of the Excel ribbon, then select 'Options' at the bottom of the left sidebar.
In the Excel Options dialog box, select 'Advanced' from the left-hand navigation pane.
Scroll down to the very bottom of the Advanced settings menu until you find the 'Lotus compatibility' section.
Find the text box labeled 'Microsoft Excel menu key:'. Delete the forward slash (/) character so the field is completely empty, then click 'OK' to save your changes.

Use an Apostrophe to Force Text Entry
If you are on a shared or restricted computer where you cannot change Excel settings, use a text-prefix workaround to type the forward slash.
Experience Modern Spreadsheets with WPS Office
If legacy settings like the Lotus menu key are causing frustrating interruptions to your data entry, consider switching to WPS Office. It offers a streamlined, highly compatible spreadsheet environment that focuses on modern usability.

Frequently Asked Questions
Why does a forward slash open the menu in Excel by default?
This is a legacy compatibility feature intended for users of Lotus 1-2-3. In older spreadsheet applications, the forward slash was the standard keyboard shortcut used to access the main menu commands, and Excel retained this setting to smooth out the transition for legacy users.
Will removing the menu key affect my other Excel shortcuts?
No. Removing the forward slash from the Lotus compatibility menu key field only disables that specific trigger. All of your standard Ctrl, Alt, and Shift keyboard shortcuts will continue to function normally.
Can I change the menu key to a different character instead of disabling it?
Yes. If you still want a dedicated single-key menu shortcut but need the forward slash for your data entry, you can replace the '/' in the 'Microsoft Excel menu key' field with any other symbol, such as a tilde (~) or backtick (`).




