以下是实现该功能的宏代码,运行即可
复制内容到剪贴板
代码:
Selection.Find.Replacement.Clearformatting
With Selection.Find
.Text = """"
.Forward = True
.Wrap = wdStop
.MatchByte = True
End With
With Selection
While .Find.Execute
.Text = ChrW(8220)
.Find.Execute
.Text = ChrW(8221)
Wend
End With