F
Fia
How can I use an IIf function if I wan't to have 3 diffrent answers.
I'll will try to explain whet I mean.
If the value is neither True or False then I want to give the value of Ord
back.
I can't use the code below, because if Ord is another value than True or
False for example a string, "Hej", I'll get 0 back from the IIf-function. I
know I can use an if and else statement, but not in this case.
IIf(Ord=True,-1,0)
Please help
Fia
I'll will try to explain whet I mean.
If the value is neither True or False then I want to give the value of Ord
back.
I can't use the code below, because if Ord is another value than True or
False for example a string, "Hej", I'll get 0 back from the IIf-function. I
know I can use an if and else statement, but not in this case.
IIf(Ord=True,-1,0)
Please help
Fia