2015-02-11 75 views

回答

1

試試這個:

Sub Test() 
     With ActiveDocument.Range.Find 
     .Text = "wdColorAutomatic" 
     .Replacement.Text = "wdColorWhite" 
     .Forward = True 
     .Wrap = wdFindContinue 
     .Format = False 
     .MatchCase = False 
     .MatchWholeWord = False 
     .MatchWildcards = False 
     .MatchSoundsLike = False 
     .MatchAllWordForms = False 
     .Execute Replace:=wdReplaceAll 
    End With 
End Sub