I think a found a relatively simple solution which uses a form's WindowWidth property.
I discovered that when a form is minimized (at least on my database), the form's WindowWidth = 1920. So, here's the sub I developed to determine if a form is minimized...
Sub Determine_Form_Min()
For Each dbsform In Access.Forms
If Forms(dbsform.Name).WindowWidth = 1920 Then
‘Execute your code here
End If
Next dbsform
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.