Option Compare Text
Sub Test()
MsgBox "a" Like "[A-Z]"
End Sub
rudders said:sorry andrew,
how could i use your method if i have
X = inputbox ("enter a character")
?? where do i put the LIKE function??
If X Like "[A-Z]" Then
' OK
Else
' Not Ok
End If