IIF Function (Imediate If)
The IIF Function from Visual Basic.
Original Author: Tim Fischer
Inputs
i - Boolean Expression
j - Result If i is True
k - Result If i is False
Assumptions
Found in Microsoft's Knowledge Base.
Returns
j - Result If i is True
k - Result If i is False
Code
Function IIf(i,j,k)
If i Then IIf = j Else IIf = k
End Function
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.