vbscript 检测小型大写
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vbscript 检测小型大写相关的知识,希望对你有一定的参考价值。
Sub detectSmallCap()
With ActiveDocument.Content.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = ChrW(100) + "-"
.MatchWildcards = False
.Replacement.Text = ""
.Replacement.highlight = True
.Execute Replace:=wdReplaceAll
End With
With ActiveDocument.Content.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = ChrW(108) + "-"
.MatchWildcards = True
.Replacement.Text = ""
.Replacement.highlight = True
.Execute Replace:=wdReplaceAll
End With
End Sub
以上是关于vbscript 检测小型大写的主要内容,如果未能解决你的问题,请参考以下文章