A TECHTORIAL

TEXT MACRO CONTINUED

Now, you're ready to enter the text you're creating this macro for.

  • Type into your Word document your school's name and click Enter; type the street address and click Enter; type the city, state, and zip and click Enter.



    You should notice two new icons on your screen: a box containing a square, two parallel lines, and a circle resembling the control buttons on an audio tape recorder; and, attached to your cursor, an icon resembling an audio tape. Those icons indicate that a macro is being created or "recorded."

  • Click the square (or "play" button) in the tape recording icon to stop recording. (Or click Tools>Macro>Stop Recording.)

Now...let's test your macro!

Click Enter, and then press CTRL and 7 (or whatever key combination you've chosen). The school address should be duplicated in your Word document.

Did you make a mistake, or do you just want to redo the macro? Follow the same steps as above. When a dialogue box appears asking if you want to rewrite the macro (save a new one and delete the old one for the same shortcut keys), click yes.

Note that ALL the keystrokes or mouse clicks you make while recording a macro will be duplicated WHENEVER you hit the shortcut keys for that macro. So, if when creating the macro, you type your school's name and then decide to save that line of text by clicking File>Save before typing the school's address, then from now on, every time you press the key combination for this macro, the computer will enter the school's name, save the file, move to the next line, and enter the street address.

Next: Create a formatting macro.

 

 
Close window