Home

How to Make a Macro in Word 2013

|
Updated:  
2016-03-27 11:35:31
|
Word 2010 For Dummies
Explore Book
Buy On Amazon

Lots of people who are curious about macros in Word 2013. A macro is a teensy program you can write in Word that automates things, such as repetitive keystrokes or tasks. It’s actually quite handy — but not simple to create.

You start making a macro by recording it. Here are some steps:

On the View tab, choose Macros→Record Macro and give the macro a name in the Record Macro dialog box.

On the View tab, choose Macros→Record Macro and give the macro a name in the Record Macro dialog box.

Give it a descriptive name.

Click the Keyboard button to assign a keyboard shortcut to the macro.

Click the Keyboard button to assign a keyboard shortcut to the macro.

Use this approach over choosing the Button option, which is more work.

Type a keyboard shortcut combination.

Type a keyboard shortcut combination.

Most of the good combinations are already used by Word, though many of the Ctrl+Alt+letter combinations are not.

Click the Assign button.

Click the Assign button.

This assigns the macro.

Click the Close button.

Click the Close button.

You’re now recording a macro in Word. Everything you do is recorded, from typing text to choosing commands and setting options.

If you’re only testing the waters, type some text. That’s good enough.’

To stop recording, choose Macros→Stop Recording.

To stop recording, choose Macros→Stop Recording.

The macro is saved.

To play back the macro, press the keyboard shortcut you assigned. Word repeats all actions taken while the macro was being recorded, playing them back as though you’ve just issued the commands or typed the text yourself.

To review macros you made, choose Macros→View Macros. You can manually run a macro from the Macros dialog box, or you can rename, edit, or delete the macros. You know the drill.

Macros in Word broach the arena of computer programming. If you want to dig into macros, find a book or resource on the Microsoft Visual Basic for Applications programming language.

About This Article

This article is from the book: 

About the book author:

Dan Gookin has been writing about technology for 20 years. He has contributed articles to numerous high-tech magazines and written more than 90 books about personal computing technology, many of them accurate.
He combines his love of writing with his interest in technology to create books that are informative and entertaining, but not boring. Having sold more than 14 million titles translated into more than 30 languages, Dan can attest that his method of crafting computer tomes does seem to work.
Perhaps Dan’s most famous title is the original DOS For Dummies, published in 1991. It became the world’s fastest-selling computer book, at one time moving more copies per week than the New York Times number-one best seller (although, because it’s a reference book, it could not be listed on the NYT best seller list). That book spawned the entire line of For Dummies books, which remains a publishing phenomenon to this day.
Dan’s most recent titles include PCs For Dummies, 9th Edition; Buying a Computer For Dummies, 2005 Edition; Troubleshooting Your PC For Dummies; Dan Gookin’s Naked Windows XP; and Dan Gookin’s Naked Office. He publishes a free weekly computer newsletter, “Weekly Wambooli Salad,” and also maintains the vast and helpful Web site www.wambooli.com.