How to Fix Excel Worksheet Tab Names Cannot Include Spaces
Question details
The user is unable to type spaces when attempting to rename a worksheet tab in Excel.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Renaming an existing worksheet tab or creating a new tab in a workbook.
- Observed behavior
- Pressing the spacebar while typing a new worksheet tab name fails to insert a space, particularly in Excel for the web, even though spaces are officially supported.
Verify that your intended worksheet name does not exceed 31 characters and excludes unsupported symbols like slashes, asterisks, or brackets before applying any workarounds.
Use the Copy and Paste Workaround in Excel for the Web
Bypass the typing glitch in Excel for the web by copying text that already contains spaces and pasting it directly into the tab name.
While standard Excel rules allow spaces in worksheet names, certain versions of Excel for the web have an input bug that ignores the spacebar while renaming tabs. Pasting text circumvents this input restriction.
Type your desired worksheet name, including spaces, in a blank cell within your spreadsheet or in an external text editor like Notepad.
Highlight the typed text and press Ctrl+C (Windows) or Cmd+C (Mac) to copy it to your clipboard.
Double-click the worksheet tab you want to rename at the bottom of the Excel screen to highlight the current name.
Press Ctrl+V (Windows) or Cmd+V (Mac) to paste the copied name into the tab, then press Enter to save.

Edit the Workbook in the Excel Desktop Application
Switching to the desktop version of Excel avoids the web-based spacebar bug entirely.
Verify File Integrity and Rule Limitations
Ensure your desired name complies strictly with Excel's naming rules and test a fresh file to rule out document corruption.
Use WPS Spreadsheet to Seamlessly Rename Worksheets
WPS Spreadsheet provides a stable, glitch-free environment for organizing your data. You can easily rename worksheet tabs with spaces and other supported characters without dealing with frustrating web browser input bugs.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your existing spreadsheet document.
- 2. Select the worksheet tab: Locate the worksheet tabs at the bottom of the workspace and double-click the specific tab you wish to rename.
- 3. Type the new name: Type your desired name with spaces directly using your keyboard.
- 4. Save the changes: Press the Enter key or click anywhere outside the tab to apply the new name.

Frequently Asked Questions
What characters are strictly forbidden in Excel worksheet names?
You cannot use the following characters when naming an Excel worksheet: forward slash (/), backslash (\), question mark (?), asterisk (*), colon (:), and square brackets ([]).
What is the maximum character limit for an Excel worksheet tab?
An Excel worksheet name can contain a maximum of 31 characters. If you attempt to type or paste a name longer than this, Excel will reject the input.
Can I use an apostrophe in an Excel sheet name?
You can use an apostrophe inside the worksheet name (e.g., "John's Data"), but the name cannot begin or end with an apostrophe.
Why does the spacebar stop working only in Excel for the web?
This is a known input glitch in certain versions of Excel for the web where browser key events for the spacebar are not properly registered in the tab renaming field. Using the desktop app or pasting text bypasses this issue.




