How to use the DictionaryFetch macro to look up words in a snap

Macros for Microsoft Word are old-fashioned automations that can help you reduce some manual work when writing and editing. Here's how to set up a macro to look up words in the dictionary of your choice in just a few keystrokes.

EDITING TIPSMACROS

10/16/20264 min read

A person holds a magnifying glass up to several computer windows with text on them.
A person holds a magnifying glass up to several computer windows with text on them.
  1. In the bottom left, next to “Keyboard shortcuts”, click Customize.

The definition of macro: A single computer instruction that stands for a sequence of operations.
The definition of macro: A single computer instruction that stands for a sequence of operations.

What is a macro in Microsoft Word?

A macro is a little automation that you set up in Microsoft Word and run when you need to. There are macros to automate all kinds of things, but the one I want to talk about today helps you look up words in the dictionary so you don’t have to break your flow while you’re writing or editing.

Note: This macro is NOT artificial intelligence. It's just simple if-then automation code that simplifies the manual work of clicking and typing to look up a word in an online dictionary.

Unfortunately, as far as I know, macros only work in Microsoft Word. I don’t believe they work in Google Docs, and if they work in LibreOffice, then the steps may be different, so I suggest looking that up separately.

I have set up a few macros in my Microsoft Word, and my go-to source is Paul Beverley's website. Paul has a huge library of macros that you can copy/paste and get macro-ing in just a few steps. So a huge shout-out to the macro GOAT, and I just want to credit him and be clear that this is not a macro I invented; this is just a set of steps to use an existing macro by Paul Beverley.

Wait, is autopilot hyphenated?

What’s the rule about whiskey and whisky again?

Is zeros or zeroes the plural of zero?

I promise I know how to spell, but all the time when writing and editing, I need to look things up in the dictionary. This used to be a rather protracted process that involved clicking into my web browser, clicking my Merriam-Webster.com bookmark, pasting the word, and hitting enter. Two clicks and two keystrokes. Not bad, but there’s an even faster way and once you use it, you’ll never go back.

That faster way: MACROS!

Screenshot of the DictionaryFetch macro text, with the name and the mySite property highlighted.
Screenshot of the DictionaryFetch macro text, with the name and the mySite property highlighted.
Screenshot of the Macros window in Microsoft Word, creating a new macro called MerriamFetch.
Screenshot of the Macros window in Microsoft Word, creating a new macro called MerriamFetch.

How to set up DictionaryFetch macro

Here’s the step by step of setting up this macro.

  1. Go to https://wordmacrotools.com/macros/D/

  2. Select DictionaryFetch.txt (which should take you here: https://wordmacrotools.com/macros/D/DictionaryFetch.txt)

  3. Copy the entire blob of code

  4. Open Microsoft Word

  5. In the ribbon, click View > Macros

  6. In the field Macro Name, type what you want to call your macro and click Create.

    If you’re using Merriam-Webster, I suggest “MerriamFetch”, that way you can add other dictionary lookup macros later, such as OxfordFetch or CollinsFetch.

  1. In the new window that opens, select the entire placeholder macro and hit Ctrl+V to replace it with the macro you copied from the website.

Screenshot of Microsoft Visual Basic window, showing where to paste the new macro text.
Screenshot of Microsoft Visual Basic window, showing where to paste the new macro text.
  1. Change the macro title to MerriamFetch.

  2. Change the dictionary URL to https://www.merriam-webster.com/dictionary/

  3. Save and close the window.

You are ready to use your macro! In the Word document, highlight any word. In the ribbon, click View > Macros > MerriamFetch > Run. Your macro should run, open your web browser onto Merriam-Webster.com and show the definition of the word you highlighted in your document!

Bonus: Set up a keyboard shortcut for your macro

Now that’s fine and dandy, but to really save time, you can map this macro to a keyboard shortcut. (Like how hitting Ctrl+B bolds text and Ctrl+S saves the document.)

  1. Once you have your macro set up in MS Word, click File.

  2. All the way at the bottom of the screen on the left, click Options.

  3. Click Customize Ribbon.

Screenshot of Microsoft Word Customize Keyboard window, with the MerriamFetch macros selected.
Screenshot of Microsoft Word Customize Keyboard window, with the MerriamFetch macros selected.
Screenshot of Word's Customize the Ribbon menu, with "Keyboard shortcuts: Customize" highlighted.
Screenshot of Word's Customize the Ribbon menu, with "Keyboard shortcuts: Customize" highlighted.
Screenshot of the Word Options menu with "Customize Ribbon" selected.
Screenshot of the Word Options menu with "Customize Ribbon" selected.

Now that you've saved the keyboard shortcut, go back to your doc, put your cursor on a word, and hit your new shortcut (Ctrl+Shift+D, or whatever you set), and your browser should open onto that word in the dictionary!

Happy Macro-ing!

Paul Beverley has so, so many more macros that you can browse here to see which ones might be helpful to you: https://wordmacrotools.com/macros/, from AAnAnalyze (which spots if you have any a/an pronoun mistakes) to ZifferWort (which converts numerals to spelled-out words—in German!)

The first macro is the hardest to set up, but once you have a bit of practice, you’ll feel like you’re hacking the mainframe every time you run MerriamFetch.

If you run into problems, my advice is to search “[macro name] set up Microsoft Word” online, and often you’ll find a Quora, Reddit, or other forum post that helps you get un-stuck.

  1. In the “Categories” list, scroll all the way to the bottom and click Macros.

  2. In the “Macros” list that appears, click your MerriamFetch macro.

  3. Click your mouse into the “Press new shortcut key” field and hit the series of keys you want to be your shortcut.
    This can be anything! Just make sure it’s not a shortcut you’re already using for something else. I use Ctrl+Shift+D.
    And save!

Get in touch

Have a question? Ready to hire an editor?

Email me or fill out my contact form to tell me a bit about your project, and I'll get back to you within 48 hours.

sarah@goldenpoppyedits.com