Chapter 1: Recording and Using MacrosIn This Chapter Recording a macro Running a macro Editing a macro Using auto macrosAmacro is a sequence of co
Simple Macro Edits That Don’t Require a Ph.D. in VBA566✦ Remove extraneous commands. If you inadvertently used a commandwhile recording a macro, you c
Book IXChapter 1Recording andUsing MacrosUsing Auto Macros567Actually, with a little more VBA knowledge, you can also remove theWith and End With comm
Using Auto Macros568Macro securityComputer viruses can exploit Word’s automacro feature to infect your computer. As aresult, you need to take some ste
Where Do all the Macros Go?558Where Do All the Macros Go?You can store macros in documents or in templates. When you create amacro, you have three cho
Book IXChapter 1Recording andUsing MacrosDoing the Macro Recorder Dance559recorder, anything you do in Word — whether you’re typing text, applyingform
Doing the Macro Recorder Dance560If the Developer tab isn’t visible, choose Office➪Word Options tosummon the Word Options dialog box. Then, click the
Book IXChapter 1Recording andUsing MacrosDoing the Macro Recorder Dance5616. Set the Store Macro In drop-down list to the location where you wantto st
Macro Recording Tips562Macro Recording TipsHere are some tips to keep in mind as you record macros:✦ You can call up the Record Macro dialog box direc
Book IXChapter 1Recording andUsing MacrosRunning a Macro563the Ribbon command, or pressing the keyboard shortcut. If you didn’t, youcan run it by foll
Editing a Macro5642. If the macro you want to run isn’t already selected, select it now. If themacro you want doesn’t appear, try changing the Macros
Book IXChapter 1Recording andUsing MacrosSimple Macro Edits That Don’t Require a Ph.D. in VBA565Simple Macro Edits That Don’t Require a Ph.D. in VBABe
Kommentare zu diesen Handbüchern