2015-02-11 23 views

回答

0

,這是可能與Selection.Find方法

mySelection.Find.ClearFormatting 
mySelection.Find.Style = ActiveDocument.Styles("Heading 1") 
With mySelection.Find 
     .Text = "" 
     .Replacement.Text = "" 
     .Forward = True 
     .Wrap = wdFindContinue 
     .Format = True 
     .MatchCase = False 
     .MatchWholeWord = False 
     .MatchByte = False 
     .CorrectHangulEndings = False 
     .HanjaPhoneticHangul = False 
     .MatchAllWordForms = False 
     .MatchSoundsLike = False 
     .MatchWildcards = False 
     .MatchFuzzy = False 
End With 
mySelection.Find.Execute