Returns true if the first argument is like the second
Function ISLIKE(text As String, pattern As String) As Boolean If text Like pattern Then ISLIKE = True _ Else ISLIKE = False End Function