Select case only works with a single variable. The OP is testing several different variables.