P
Penny
Hi all,
My browser throws this Select Case block back at me pointing out a syntax
error on the line: 'Case < 251', between the word 'Case' and the '<' symbol.
***************************
intWeightTotal = 550
Select Case intWeightTotal
Case < 251
' Do something
Case < 501
' Do something
Case < 1001
' Do something
Case < 2001
' Do something
Case Else
' Do something else
End Select
**************************
All my other Select Case blocks work fine without the '<' symbol.
I've also tried the line 'Case Is < 251' but same error.
Any ideas?
Regards
Penny.
My browser throws this Select Case block back at me pointing out a syntax
error on the line: 'Case < 251', between the word 'Case' and the '<' symbol.
***************************
intWeightTotal = 550
Select Case intWeightTotal
Case < 251
' Do something
Case < 501
' Do something
Case < 1001
' Do something
Case < 2001
' Do something
Case Else
' Do something else
End Select
**************************
All my other Select Case blocks work fine without the '<' symbol.
I've also tried the line 'Case Is < 251' but same error.
Any ideas?
Regards
Penny.