Chapter 3. Editing Recorded Macros

In this chapter, you'll use the Visual Basic Editor to edit the Word and Excel macros you recorded with the Macro Recorder in Chapter 1. In addition, you'll create a new macro in PowerPoint and see how to edit it. Even if you're working with an application that doesn't include the Macro Recorder (such as PowerPoint), you may still want to read through this chapter because it shows you how to use some of the key editing features of the Visual Basic Editor.

There are three reasons for working with macros in the Visual Basic Editor:

  • First, to fix any problems in the way a macro you recorded is executing. For example, if you made a misstep when recording the macro, the macro will keep performing that wrong instruction ...

Get Mastering VBA for Microsoft® Office 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.