Sub test()
Selection.HomeKey 6
Selection.Find.ClearFormatting
Selection.Find.Font.Underline = wdUnderlineThick
Selection.Find.Replacement.ClearFormatting
Selection.Find.Execute "*", , , 1, , , 1, 1, , "(^&)", 2
Selection.Find.Execute ")(", , , 1, , , 1, 1, , "", 2
Selection.Find.Execute Replace:=wdReplaceAll
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
For i = 1 To 10
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
Selection.Find.Execute "(([!(]@))(*答案:*)^13", , , 1, , , 1, 1, , "()\2\1|^p", 2
Next
Selection.Find.Execute "|^13", , , 1, , , 1, 1, , "^p", 2
Selection.WholeStory
Selection.Font.Underline = wdUnderlineNone
Selection.HomeKey 6
End Sub
|