Thread
:
More Efficient IF
View Single Post
#
1
Posted to microsoft.public.excel.programming
Incidental
external usenet poster
Posts: 226
More Efficient IF
Hi David
You could use the select case statement
Select Case variable
Case 1, 2, 7, 12
MsgBox "Variable is either 1,2,7,12"
End Select
hope this helps
S
Reply With Quote
Incidental
View Public Profile
Find all posts by Incidental