Someone out there please tell me how you can code a form so that it can tell if it is currently the active form.

If you are going to suggest ZOrder or the VBE class please be specific as I have had no luck with either so far.

Thanks