Announcement: Upgrade to macOS Mojave

With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. 
Find out how to upgrade to macOS Mojave >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.


Question: Writing a macro in Word

I would like to write a macro so I can easily insert a red heart symbol and a red diamond symbol, but have the color immediately return to black once I've typed the symbol so I don't have to press the color button. I'm using Sierra 10.12.6 and Word 2016. Any suggestions for a non expert? I did find some instructions on one site, but they were outdated and also too complex for me to follow. Thank you!


MacBook Pro TouchBar and Touch ID, macOS Sierra (10.12.5)

Posted on


There’s more to the conversation

Read all replies

Page content loaded

Mar 19, 2018 9:14 AM in response to alicesf In response to alicesf

Not sure what you're doing to make the heart or diamond red, other than you're using an emoji instead of a standard font.

Simple macro for a heart (Office 2016):

1) Find a heart you like and type it in Word. Arial has a nice one.

2) Once you have the heart you like, copy it to the clipboard.

3) Start a macro recording.

User uploaded file

Call it "Heart", or whatever makes sense to you. I added the obvious description of what the macro will do:

User uploaded file

Leave where the macro is to be stored on the default if you want to be able to use it in all future new documents. Otherwise, change the drop down from storing it in the Normal template to the document you currently have open. Do not click OK, or it will think you're done setting up how the macro will opertate.

3) Click the keyboard icon so you can assign a keystroke to the macro. This will be far faster than going to the macro tool later and manually selecting it each time you want to insert a heart.

Click in the space to add a keyboard short cut. I made it Command+Option+Shift+H . Which is way easier to do as a two handed shortcut that it sounds. It's also highly unlikely to interfere with a shortcut already being used in Word. Click Assign, then OK.

User uploaded file

4) Now Word is waiting for you to do something to begin recording your actions. There is only one thing for you to do. Paste in the Arial heart you've left on the clipboard.

5. Go back to the menu and stop the recording.

User uploaded file

You now have a macro to paste in a non-colored heart with your assigned keystroke.

Mar 19, 2018 9:14 AM

Reply Helpful

Mar 19, 2018 12:42 PM in response to alicesf In response to alicesf

Is there a way to color the heart red as part of the macro, and then also as part of the macro have the cursor go to the next space and revert to black?


First, type the heart you want into Word and color it red. If you want it a specific point size, do that next. Copy the heart to the clipboard (you can't apply formatting to existing text while creating a macro).

Start your macro creation. Give it the same name if you already did one. You'll be asked if you want to replace the current macro you made for placing a heart. It would make the most sense to overwrite the current one with what you really want it to do.

Then, follow the procedure above up to the point where Word is waiting for you to start doing something.

1) Paste the heart. It should come in colored red and at the point size that's on the clipboard.

2) Now, with the insertion bar being directly after the heart, change the font to whatever you use as the default and the point size. Make it black if Word isn't already showing that as the color. Press space.

3) Stop recording.

Now when you press your keyboard shortcut, your red heart will be placed and immediately followed by a space which sets your font back to black and the typeface you changed it to, ready to continue typing your normal text.

If you want, you can make things slightly quicker in step one by first pressing space, paste in the heart then set the font back to normal and press space again. Stop the recording. What that small change will do for you is allow to stop typing the word you're on before using the heart, then press your shortcut. It's only one key you're saving time on, but still, it's quicker than, word - space - shortcut - back to typing. Instead, the shortcut then gives you your leading space and it's, word - shortcut - back to typing.

Mar 19, 2018 12:42 PM

Reply Helpful
User profile for user: alicesf

Question: Writing a macro in Word