Created
June 22, 2014 06:35
-
-
Save zkarpinski/e7a57340f96763411145 to your computer and use it in GitHub Desktop.
How can I clean this up?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub Regex() | |
Dim strRegex As String | |
strRegex = GlobalModule.RegexAccount(mSubject) | |
If strRegex = "ACC# NOT FOUND" Then | |
strRegex = GlobalModule.RegexCustomer(mSubject) | |
If strRegex = "CUST# NOT FOUND" Then | |
strRegex = GlobalModule.RegexAccount(mBody) | |
If strRegex = "ACC# NOT FOUND" Then | |
strRegex = GlobalModule.RegexCustomer(mSubject) | |
If strRegex = "CUST# NOT FOUND" Then | |
strRegex = "UNKNOWN" | |
_IsValid = False | |
End If | |
End If | |
End If | |
End If | |
mCustAcc = strRegex | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment