The help for IIF (which I have wanted for ages but have only just discovered from a post in the WOPR Excel forum) says:
Syntax
IIf(expr, truepart, falsepart)
The IIf function syntax has these named arguments:
Part Description
expr Required. Expression you want to evaluate.
truepart Required. Value or expression returned if expr is True.
falsepart Required. Value or expression returned if expr is False.
But these appear to be position arguments rather than named arguments. Am I crazy or is it the help?
Or, can they be used as either named or positional arguments?