Gasman
Enthusiastic Amateur
- Local time
- Today, 13:16
- Joined
- Sep 21, 2011
- Messages
- 14,269
No !My expectation is that the select case block will look compare each group to the first case and, if it is true then change the header background to the appropriate color, then check it against the second group and if it is true change the background color to green, then the third one and change the color appropriately.
Your response that it will not work for more than one does not make sense to me as it works on the first, third, and fourth, but not the second. And it doesn't matter if I move the second one up or down in the list. It doesn't like the comparison for that particular item.
Tim
It will work on the first case it finds true and that is it. One test per call.
If none are True it will use the Else statement if one is supplied.
If it does not work for a particular case, then that is because that statement does not equate to being true.?