Share via

Highlight for mac-microsoft office word.

Anonymous
2022-01-10T21:51:59+00:00

Hello, So I used Mac m1 2021 Monterey.

So can tell me how to put a macro for office on a Mac. So that when I press CMD+H it highlights like it would in windows.

I tried to follow this guys (Daniel G. Grau) method below the picture but it did not work. It does not highlight or do anything really. As proof you can see the pic for my the current keys are key to command + H but it does not highlight in yellow when I go to highlight in yellow. I just want it to work like it does in windows with ctrl+H. Not sure why this isn't just a normal feature since its so common to do but whatever just help me set it up. Thank you.

"""""""

Do you want a shortcut to highlight the selection? If so, all you need is:

  • Tools > Customize keyboard
  • In the list to the left, highlight "All Commands"
  • In the list to the right, locate "Highlight"
  • Place your cursor in the write-in field and press a key combination. Word will let you know if it's already taken. Just about all "Control + Letter" combinations are available.
  • This will highlight the selection using the toolbar's current highlight color, whatever it is. (You cannot otherwise customize the color used by the shortcut.)

A macro requires specifying a color. For instance:

Sub YellowHL()
    Selection.Range.HighlightColorIndex = wdYellow
End Sub

For convenience you should assign a keyboard shortcut to it as well, following the above method, except that you'd be selecting "Macros" on the left, then "YellowHL" on the right.

"""""""

_______________

Microsoft 365 and Office | Word | For home | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Bob Jones AKA CyberTaz MVP 435K Reputation points
    2022-01-11T20:33:11+00:00

    Wow, you must have dug deep into the archives to come up with that conversation... Daniel hasn't participated here is several years :-) Things have changed.

    Most significantly, Apple has continuously commandeered keyboard shortcuts for their own purposes. For example as per Mac Help:

    Command-H: Hide the windows of the front app. To view the front app but hide all other apps, press Option-Command-H.

    Unlike Word;s built-in keyboard shortcuts most of the shortcuts Apple has snatched cannot be reassigned within the program.

    BTW: I just want to point out that the Highlight command doesn't necessarily apply yellow. It applies the most recently selected Highlighter color. The only meas of consistently applying a specific color is to use the macro method Daniel described.

    10+ people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-01-13T13:32:40+00:00

    Hi tobymathews2,

    I'm writing this reply to follow up on this thread, may I know if you have checked the above replies? When you have time, you are welcome to come back and share any updates with us.

    Regards, George

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-01-11T09:57:42+00:00

    Hi tobymathews2,

    Thanks for posting in the community.

    According to your description, you assigned a shortcut to the Highlight function while the shortcut doesn’t work. To troubleshoot the issue, I would like to collect some information.

    1. Your Office version

    Since the latest version is 16.56, please update your Office to the latest version, then check again.

    1. Since the shortcut may conflict with your Mac shortcut, what if you change the shortcut to another, like Command + Numpad8, does the issue still happen?
    2. Does the issue exist in a specific document or also in a newly created document? Note: make sure you have set Save changes in Normal.dotm in the Customize Keyboard window

    Also, please try to record a macro via Tool> Macro> Record a macro, assign the shortcut, select text, click the Highlight button, Tool> Macro> Stop recording, then test again.

    Regards,

    George

    0 comments No comments