For example:
![]()
Sub pcbpinoy() Dim s$ s = "CD_HJ_TY_AB" If InStr(s, "AB") Then MsgBox "Found AB" If InStr(s, "AB") And InStr(s, "CD") Then MsgBox "Found AB and CD" End Sub
For example:
![]()
Sub pcbpinoy() Dim s$ s = "CD_HJ_TY_AB" If InStr(s, "AB") Then MsgBox "Found AB" If InStr(s, "AB") And InStr(s, "CD") Then MsgBox "Found AB and CD" End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks