I am looking for some VBA code that I can implement that will allow me to create an if then statement that would do something like this.
if forms a, b, c, d, e and f are NOT open then
LightboxForm.Hide
end if
Or maybe simpler, which would probably work would be:
if OpenFormCount>1 then...