【发布时间】:2016-08-22 16:25:51
【问题描述】:
我的文档包含很多空格和段落标记。
我想要做的是检测字符Selection.find是否是从A到Z的任何字母?
Dim EE As String
Selection.Find.ClearFormatting
With Selection.Find
.Text = "^?"
.Forward = True
.Wrap = wdFindStop
End With
Selection.Find.Execute
EE = Selection.Text
If isletter = True Then
MsgBox ("Letter found")
Else
MsgBox ("No letter found")
End If
【问题讨论】:
标签: vba ms-word word-2007 word-2003