Q: 
CASE structure implementation in VB

i want to implemetn a CASE structure(like in C) in VB..CAn u help me ?? 
i have a interger Flag that when set shloulc execute only a particular conde like in C..

sujana patel; universe@earth.planet.net.in

A: a select case procedure is a very handy one: for example Select case Month(now) Case 1 strTMP = "January" Case 2 strTMP = "Februari" Case 3 strTMP = "March" Case Else strTMP = "not one of the first tree months of the year" End Select Msgbox strTMP Of course there are better ways to get the month but this is just for explaning the Select Case statement.. Return