Copy and Paste the Code

3. Try This: Select the Code

Select the following code:

Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting

Selection.Find.Replacement.Font.Color = 12611584
With Selection.Find
.Text = "have"
.Replacement.Text = "have"
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll

 

Try This, Too: Copy and Paste the Code

Go to Edit->Copy.

Place your cursor after =wdReplaceAll and click the ENTER key on your keyboard to create a new line, just like in Microsoft Word.   

Go to Edit->Paste.
Keep going...

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