Choose Function
Syntax
Group
Description
Return the value of the expr indicated by Index.
Parameter | Description |
---|---|
See Also: If, Select Case, IIf( ).
Example
Sub Main
Debug.Print Choose(2,"Hi","there")
'"there"
End Sub
Return the value of the expr indicated by Index.
Parameter | Description |
---|---|
See Also: If, Select Case, IIf( ).
Sub Main
Debug.Print Choose(2,"Hi","there")
'"there"
End Sub