Fix Word for Mac Command+H Shortcut Not Highlighting Text
Question details
The user is unable to use the Command+H shortcut to highlight text in Microsoft Word for Mac because the command conflicts with a macOS system shortcut.

- Product
- Microsoft Word
- Device & OS
- macOS
- Scenario
- Attempting to highlight text using a custom keyboard shortcut in a Word document.
- Observed behavior
- Pressing Command+H hides the active Word application instead of highlighting the selected text. Additionally, the default highlight command applies the previously used color instead of a consistent yellow.
Ensure your Microsoft Office application and macOS are updated to their latest versions. Keep in mind that 'Command + H' is a default macOS system shortcut specifically reserved for hiding the active application window.
Assign a Non-Conflicting Keyboard Shortcut
Bypass the macOS system conflict by assigning a completely new shortcut for the highlight command.
Since macOS reserves Command+H to hide the active application, overriding it in Word can be unreliable. The best approach is to choose a shortcut that does not conflict with Apple's system commands, such as Command plus a numeric key.
In Microsoft Word for Mac, click on 'Tools' in the top menu bar and select 'Customize Keyboard'.
In the Categories list, select 'All Commands'. Then, in the Commands list, search for and select 'Highlight'.
Click the 'Press new keyboard shortcut' box and press your desired key combination (e.g., Command + 8).
Ensure the 'Save changes in' dropdown is set to 'Normal.dotm' so the shortcut works in all future documents, then click 'Assign' and 'OK'.

Create a Macro for Consistent Yellow Highlighting
Use a macro to ensure your keyboard shortcut always applies a yellow highlight, ignoring the previously used color.
Highlight Text and Customize Shortcuts Easily in WPS Office
If managing macros and system conflicts in Word for Mac becomes frustrating, try WPS Office. It provides an intuitive, lightweight interface where customizing shortcuts and highlighting text works seamlessly out of the box.
- 1. Open your document: Launch WPS Writer and open your existing Word document.
- 2. Select the target text: Highlight the text you want to emphasize using your cursor.
- 3. Apply highlight color: Navigate to the Home tab and click the 'Text Highlight Color' button to apply your preferred color immediately.
- 4. Customize your shortcuts: Go to Menu > Options > Customize Keyboard to easily bind highlighting functions to any available key combination without system conflicts.

Frequently Asked Questions
Why does Command+H hide my Word document on Mac?
On macOS, Command+H is a system-wide keyboard shortcut hardcoded to hide the currently active application window. Because the OS prioritizes this command, assigning it to a specific function within Word often results in the app disappearing rather than executing the intended command.
How can I make my highlight color always default to yellow?
Word's default highlight button applies the last color you used. To force it to always apply yellow, you can record a macro that specifically selects the yellow highlight color, and then assign a custom keyboard shortcut exclusively to that macro.
Why aren't my custom keyboard shortcuts saving in Word for Mac?
Custom shortcuts might fail to save if they are only applied to the current active document. To fix this, ensure that the 'Save changes in' dropdown menu in the Customize Keyboard dialog is set to 'Normal.dotm'. This guarantees your shortcuts apply to all future documents.
Can I disable the macOS Command+H shortcut entirely?
Disabling system-level shortcuts like Command+H requires advanced modifications in macOS System Settings or using third-party keyboard mapping software. It is generally safer and easier to assign a different shortcut within Microsoft Word.




