Office Settings & Configuration

Fix Word Ctrl+Z Shortcut Typing B Instead of Undoing

Bushra ParveenBushra Parveen Oct 26, 2026 868 views

Question details

Restore the default Ctrl+Z undo functionality in Microsoft Word.

Product
Microsoft Word
Device & OS
Windows
Scenario
Using standard keyboard shortcuts to undo a recent action while editing a document.
Observed behavior
Pressing Ctrl+Z inserts the letter "B" into the text instead of executing the expected undo action.
Before you start

Verify that the Ctrl+Z shortcut behaves normally in other applications, such as a web browser or Notepad, to confirm this is an application-specific configuration issue and not a hardware problem.

Solution 1Recommended

Reassign the Ctrl+Z Shortcut to the Undo Command

Check the custom keyboard shortcuts in Word options to locate where Ctrl+Z is misassigned and restore it to its default EditUndo function.

Microsoft Word allows users to customize keyboard shortcuts. Occasionally, shortcuts can be accidentally reassigned or modified by third-party add-ins, causing standard combinations like Ctrl+Z to perform unexpected actions.

1
Open Word Options

Launch Microsoft Word, click on the File tab in the top-left corner, and select Options at the bottom of the menu.

2
Access Ribbon Customization

In the Word Options dialog box, select Customize Ribbon from the left-hand pane.

3
Open Keyboard Shortcuts Setup

Look for the 'Keyboard shortcuts' text at the bottom of the window, and click the Customize button next to it.

4
Check Current Assignment

Select any command from the list, click inside the 'Press new shortcut key' box, and press Ctrl+Z on your keyboard. Check the 'Currently assigned to' area below it to see what action is mapped to this shortcut.

5
Restore EditUndo Assignment

If Ctrl+Z is assigned to typing 'B' or another command, locate that specific command in the Categories list, select it, and click Remove. Then, select the EditUndo command (usually under the Home Tab or Edit category), press Ctrl+Z in the 'Press new shortcut key' box, and click Assign.

Reassign the Ctrl+Z Shortcut to the Undo Command
Shortcut Restored: Once you click Assign and close the dialog boxes, the Ctrl+Z shortcut will immediately resume undoing your latest actions.
Free Microsoft Office alternative

Edit Documents Hassle-Free with WPS Office

Tired of troubleshooting complicated settings and shortcut mappings? WPS Office offers a free, lightweight alternative with all standard keyboard shortcuts, including Ctrl+Z for Undo, working flawlessly right out of the box.

  1. 1. Download and Install: Get the free WPS Office suite from the official website and install it on your device in minutes.
  2. 2. Open Your Document: Launch WPS Writer and directly open your existing Word files without worrying about format changes.
  3. 3. Edit with Confidence: Use standard shortcuts like Ctrl+Z to instantly undo actions without any manual configuration required.
Standard keyboard shortcuts (like Ctrl+Z for Undo) are pre-configured and work reliably.Fully compatible with Microsoft Word formats, ensuring seamless edits to your .docx and .doc files.Free and lightweight, avoiding bulky installations and sluggish performance.Familiar user interface for an intuitive transition from Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why did my Ctrl+Z shortcut change suddenly?

This typically happens if a shortcut is accidentally reassigned within Word's customization options, or if a newly installed third-party add-in or macro modifies the default keyboard mappings.

Does clicking 'Reset All' in the Customize Keyboard menu restore Ctrl+Z?

Yes, clicking 'Reset All' in the Customize Keyboard dialog will revert all customized shortcut keys back to their original factory defaults, which includes restoring Ctrl+Z for the Undo action.

What if Ctrl+Z types 'B' in every program on my computer?

If the issue occurs across all applications and not just Word, it is likely a system-wide problem. This could be caused by an incorrect keyboard layout setting in Windows, active macro software, or a physical hardware malfunction.