View Single Post
 
Old 02-02-2018, 10:56 AM
jodecaesteker jodecaesteker is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2018
Posts: 6
jodecaesteker is on a distinguished road
Default

Quote:
Originally Posted by NoSparks View Post
you could Case Select based on length of str and include the letter
Code:
Select Case Len(str)
    Case 3: If str Like "##[.]" Then ok = True
    Case 4: If str Like "##[.][A-Z, a-z]" Then ok = True
    ' etc
End Select
Great, thanks for completing the solution!
Reply With Quote