|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
* 楼主,如果字体名称不正确,请自行录制宏取得正确名称。
- Sub aaaa_仿宋转方正()
- With ActiveDocument.Content.Find
- .ClearFormatting
- .Font.NameFarEast = "仿宋"
- With .Replacement
- .ClearFormatting
- .Font.NameFarEast = "方正仿宋"
- End With
- .Execute FindText:="", ReplaceWith:="", Format:=True, Replace:=wdReplaceAll
- End With
- '''
- With ActiveDocument.Content.Find
- .ClearFormatting
- .Font.NameFarEast = "楷体"
- With .Replacement
- .ClearFormatting
- .Font.NameFarEast = "方正楷体"
- End With
- .Execute FindText:="", ReplaceWith:="", Format:=True, Replace:=wdReplaceAll
- End With
- '''
- With ActiveDocument.Content.Find
- .ClearFormatting
- .Font.NameFarEast = "宋体"
- With .Replacement
- .ClearFormatting
- .Font.NameFarEast = "方正小标宋简体"
- End With
- .Execute FindText:="", ReplaceWith:="", Format:=True, Replace:=wdReplaceAll
- End With
- End Sub
复制代码 |
评分
-
2
查看全部评分
-
|