• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 32. Creating and Working with VB... > Creating Macros Using the Macro Reco...

Creating Macros Using the Macro Recorder

As mentioned, you can create macros by using the Macro Recorder, by entering VBA code in the VBE, or by using both tools in combination (for example, you could record the bulk of your macro’s code using the Macro Recorder and then tweak the code in the VBE). In this section, we’ll look at creating macros with the Macro Recorder.

Planning a Macro

Regardless of how you create a macro, you need to gather your thoughts before you start. This is especially true when you’re creating macros using the Macro Recorder. When you run the Macro Recorder, it tracks all your movements—including any corrections you make along the way. As you can imagine, because Word records every action, the more movements and commands you perform (including any commands you undo), the larger your macro becomes. Therefore, you’ll want to make sure that you’ve outlined the most streamlined approach to creating your macro before you start to record the procedure. If necessary, you might even jot down some notes before you start the recorder. You should consider the following items before creating your macro:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint