G
Guest
I've got a Select Case function like this:
Public Function AcctClass2(GLAccount As String)
Select Case GLAccount
Case 100010 To 100037, 102242, 102250, 102280, 10231X
AcctClass2 = "Cash"
GLAccount is a text field that I'm feeding to this function as an argument.
It doesn't like the X at the end of the Case line, and I get a compile error.
How do I handle this statement to include the X?
Public Function AcctClass2(GLAccount As String)
Select Case GLAccount
Case 100010 To 100037, 102242, 102250, 102280, 10231X
AcctClass2 = "Cash"
GLAccount is a text field that I'm feeding to this function as an argument.
It doesn't like the X at the end of the Case line, and I get a compile error.
How do I handle this statement to include the X?