答案1
尝试以下宏:
Sub addAsterisk()
Dim currentParagraph As Paragraph
For Each currentParagraph In ActiveDocument.Paragraphs
currentParagraph.Range.Select
If Selection.Range.Find.Execute("a") Then
Selection.MoveRight (wdCharacter)
Selection.MoveLeft (wdCharacter)
Selection.InsertAfter ("*")
End If
Next
End Sub