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"

.Replacement.Text = "was"

 

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

 

Try This As Well: Close the Editor

Go to File->Save Normal.
Go to File->Close and Return to Word.

 

Keep going...

 

Memo to Self: This Macro Code begins with Sub GoBlue at the top. It ends with End Sub at the end of the subroutine.

Exam 77-418 Microsoft Word 2013  
1.0 Create and Manage Documents
1.4 Customize Options and Views for Documents: Edit Macros in Visual Basic

 

 
Developer -> Code ->Macros ->Edit
graphic2
 
graphic1