Home |
Search |
Today's Posts |
#6
![]() |
|||
|
|||
![]()
It is not a routine, it is a variable being tested for in the case
statement.It applies to VBA, not to Excel itself. If you want a case type function in a worksheet, there isn't one. There are many lookup functions that might do what you want, but you would need to present the problem to tell. -- HTH RP (remove nothere from the email address if mailing direct) "Al" wrote in message ... Bob, Pardon my ignorance but how do I call the myVal routine from within Excel? "Bob Phillips" wrote: In VBA, yes Select Case myVal Case 1: 'do something Case 2: 'do something else Case Else; ' exception End Select -- HTH RP (remove nothere from the email address if mailing direct) "Al" wrote in message ... Does Excel have a function similar to the "Case" command in other programming languages? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
reminder notifications in a column | Excel Discussion (Misc queries) | |||
How can i change this VBA project According to Indian Numeric | Excel Discussion (Misc queries) | |||
Dynamic Formulas with Dynamic Ranges | Excel Worksheet Functions | |||
Amount or Numbers in Words | New Users to Excel | |||
Is there a formula to spell out a number in excel? | Excel Worksheet Functions |