Access Tips from Xlteq
Using the Select Case Statement
Often in VBA code you need to take a value and “do something” conditionally.
The traditional approach is to use an If Then Else or If Then Elseif ElseIf … type of construct, however these quickly get messy and hard to follow once you get above two or three choices.