S
smplogc
What's the code to test if a value is between two numbers? I can easil
find the answer for other languages, but not VBA! TIA
find the answer for other languages, but not VBA! TIA
smplogc said:What's the code to test if a value is between two numbers? I can easily
find the answer for other languages, but not VBA! TIA.
Wow, powerful stuff.This expression
Sgn(No1-YourNum) + Sgn(No2-YourNum)
enumerates all 5 possibilities