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 re-record 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. Any text appearing in quotes is text that the macro adds 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.


You can choose different formats and fonts, depending on your needs. Figure 20.6 shows how you can change Times New Roman to Bookman.

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

Tip from

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.


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


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.12.240