Is there a better way to construct the "Select Case" looping thru a collection?
For example, I have over 30 text values to test and I rather not hard code all 30 in the Case statement like below:
Is there a way to do this without having to type all 30 values separated by comma?Select CASE Programs Case "PM", "FC","CT","US","TR" Msgbox "There is over 30 of these" Case Else Msgbox "Is there another way?" End select
any assistance would be appreciated.