发布于 2012-11-06 14:20:11
如果占位符始终相同,则可以通过Word的“查找和替换”对话框完成整个任务。不需要密码。
例如,要替换多个回车返回:
如果您想将它合并到一个更大的代码块中:
With Selection.Find
.Text = "(Placeholder1)^13{2,}(Placeholder2)"
.Replacement.Text="\1" & " ^13 " & "\2"
.Forward = True
.Wrap = wdFindContinue
.MatchWildcards = True
.Execute
End With
如果这对你有用的话请告诉我。
https://stackoverflow.com/questions/13242799
复制相似问题