Word VBA 批量替换字体颜色

180it 2019-09-26 PM 5381℃ 0条

Sub 批量替换字体颜色()

With ActiveDocument.Content.Find

.ClearFormatting

.Font.Color = wdColorRed

With .Replacement

.ClearFormatting

.Font.Color = wdColorBlack

End With

.Execute FindText:="", ReplaceWith:="", Format:=True, Replace:=wdReplaceAll
End With

End Sub

支付宝打赏支付宝打赏 微信打赏微信打赏

如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!

标签: none

Word VBA 批量替换字体颜色