关于word替换的问题
Function ReplaceWord(SearchStr, ReplaceStr) '全部替换函数With wordApp.ActiveDocument.Content.Find
.ClearFormatting
.Text = SearchStr
.Replacement.Text = ReplaceStr
.MatchWildcards = False
'.Replacement.Highlight = True
.Forward = True
.Execute Replace:=wdReplaceAll
End With
End Function