Thread: Select Case
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
AlanW AlanW is offline
external usenet poster
 
Posts: 29
Default Select Case

I would like to apply the "Select Case" to a whole column instead of a single
cell. Could anyone please show me the way. For more information, I apply
the function to a single cell by the followings:-

Sub Test()
Case Is 80
Range("b1").Value = "Good"
Case Is 60
Range("b1").Value = "Fair"
Case Else
Range("b1") = "Unclassified"
End Select
End Sub

Thank you