Modify the Code

After you paste the Macro code, you can edit the Text and the Replacement.Text so that your Macro finds and formats a different word.

 

4. Try This: Edit the Code

Please make the following edits:

.Text = "was"

.Replcement.Text = "was"

 

In this example, the Macro will format two words: have and was.

 

Try This As Well: Close the Editor

Go to File->Close and Return to Word.

 

Keep going...

 

Memo to Self: This Code begins with Sub GoBlue at the top. It ends with End Sub at the bottom.

 

 
Developer -> Code ->Macros ->Edit
 
 

Exam 77-887: Microsoft Word Expert 2010

5. Managing Macros and Forms

5.2. Apply and manipulate macro options: Edit the Macro