Free Macros for Writers and Publishers Home Page
Making or building a simple and easy Microsoft Word macro in version 97 or 2000 Tutorial

        Let's get right to the operation of making your first (if you haven't made one before now) macro.

        Before you proceed, open a new Microsoft Word 97 or 2000 document, and type a few words. Let us now begin.

01. Click Tools.

02. Scroll to Macro, and then click Record New Macro

03. Type aaaa (or any short name) in the Macro Name: window, and then click OK.

04. A tiny activity box should appear CommandBar, which indicates that you are now in Record mode.

05. It's usually more efficient if you use shortcut keys for the commands you want the macro to perform; however, just as often, you can use your mouse cursor.

06. Whether by shortcut keys or cursor, highlight one of the words that you typed before starting the macro, beginning at the immediate right of the word and moving your cursor to the left until the entire word is highlighted.

07. Now (leaving the word highlighted) change the font style (example: "Times New Roman" to "Arial") and the font size, and then clear the highlight from the word by pressing your right arrow key.

08. Click on the little square Stop Record Button in the tiny activity box (CommandBar) to close it and stop the Macro Recording.

09. Click Tools, click Macro, click Macros, click the aaaa or your new macro title, and then click Run.

       The several commands that you gave while making your macro will take place when you run the macro, but in an instant.

       Now all you have to do is click Tools, click Macro, click Macros, click the aaaa click Edit, click File and then click Save Normal.

       Now close your Microsoft Visual Basic window and assign a shortcut key or keys to your new macro if you would like to see it function automatically anytime in the future.

       What will happen when you run your new macro: If you place your cursor to the immediate right of a word in your Microsoft Word document and then run your macro, the font and font size will change automatically to the commands you gave the macro while recording it.

       That's about all there is to this tutorial. Now you know how to make a simple macro; and, as you study the macro Help Files and advance yourself in this area of Microsoft Word, you'll be able to apply this knowledge to making more drawn-out or complex macros.

       Thank you for your visit, and please tell a couple of friends about this site.
Free Macros for Writers and Publishers Home Page


2150