How many of these IF conditions are you processing? More than one and you should be using SELECT CASE constructs. If more than a dozen, then a total rethink is needed.