Agree, thanks. Incredibly, that's one of those things that I just realised now, after so many years! ?
For whatever reason, I always assumed (and that's why I never tried it) that single-line If was limited to the True case
, thinking that I had to write the full 5-line expression for the if-then-else-endif for the complete case, not being aware that I could also use the single-line IIf
If condition Then doThis Else doThat