Hi jh!
I think you might be referring to the VBA IIf function.
IIf(expr, truepart, falsepart)
This is different from the If directive:
If expression Then
statements
[ElseIf expression-n Then
[elseifstatements]]
[Else
[elsestatements]]
End If
But your question is a tad short on detail.