Is there any way to construct a wildcard Like statement similar to the {1,}
one or more of the proceding character used in Find? Here is an example. I
want my Like statement to be true if the string is only lower case letters.
I get a a match if I use [a-z] followed by 25 asterisks. Is this statement
really limited in this area? Thanks
Sub Test()
Dim MySting As String
MyString = "abcdefghijklmnopqrstuvwxyz"
If MyString Like "[a-z]************************" Then MsgBox "Eureka"
'What I would like to do:
'If MyString Lik "[a-z]{1,}" Then ...
End Sub
--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support