Editing a Macro


You can use the Visual Basic Editor again whenever you want to edit a macro. Unless you're familiar with creating macro code in this editor, however, it's probably a good idea to delete and rerecord a macro if it's not working or requires significant changes to work properly. But for simple changes, even a user unfamiliar with VBA can use the editor to make minor modifications. You can change text entries that the macro inserts . The macro adds any text in quotes to your presentation (see Figure 20.5). Edit or retype this text as needed.

Figure 20.5. Misspell something while recording your macro? Fix the text in the Visual Basic Editor window.

graphics/20fig05.jpg

You can choose different formats and fonts, depending on your needs. Figure 20.6 shows how you can change Book Antiqua to Georgia.

Figure 20.6. Change your font by editing the programming code.

graphics/20fig06.jpg

You can also select a different element. For example, if your macro currently types text in to a title box and you want the macro to type it in to a subtitle box, change the code and redirect the entered text.

TIP

Interested in learning more about VBA or want to decipher what a snippet code really means? Choose Help, Microsoft Visual Basic Help from within the Microsoft Visual Basic window. Here, you can view detailed reference materials or search on a specific topic. The first time you try this, Office might ask you to install the feature, so have your Office CD-ROM handy.




Special Edition Using Microsoft Office PowerPoint 2003
Special Edition Using Microsoft Office PowerPoint 2003
ISBN: 0789729571
EAN: 2147483647
Year: 2003
Pages: 261

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net