mattscotney
Programmer
Hi all,
How do I use the like statement within a case statement to catch wildcards?
This is how I think it should be done but it does not work:
Select Case docTypes
Case Like "*egg*"
'Do something....
Case Like "*tea*"
'Do something else....
End Select
Thanks in advance,
Matt
How do I use the like statement within a case statement to catch wildcards?
This is how I think it should be done but it does not work:
Select Case docTypes
Case Like "*egg*"
'Do something....
Case Like "*tea*"
'Do something else....
End Select
Thanks in advance,
Matt