Secondo me potresti utilizzare un semplice Select Case o una serie di If