我的文档包含很多空格和段落标记。检测选择是否为Letter
我想要做的是检测字符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
的确如此,感谢您的评论。这就是我不会尝试每个角色的原因...... – arcadeprecinct