@Pat Hartman
Surely a bad form name is an error like any other, and it needs to be tested and handled. If you did that in runtime, and didn't handle it, wouldn't it just crash the programme.
I don't see why you wouldn't just error trap the docmd.openform and handle it.
However, what I did...