You are just looping through the Forms Collection.?
You need to test the .Isloaded property.
A quick google......
In fact if I run that code it does not even go through the For next loop.?
I've discovered that happens is no form at all is open, so no collection.
So use strForm instead of hardcoding the form name. Then you will get True. However that link allows the same result without having to scroll through a possible lot of forms?
Also you will probably need "*", not " " ?