我的文檔包含很多空格和段落標記。檢測選擇是否爲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