So if I wanted to reduce that to one line of code then it would be thus?

Code:
If Not CBool(ShuffleTypeID And (idx_ShuffleType_EquipBest Or idx_ShuffleType_EquipWorst)) Then Exit Function