B
Boon
Hi,
Here is what I want it to happen --> When a user click minimize the form, I
want the Access application to minimize as well.
I put the Event procedure on the On Resize event of the form and put this
code in.
Private Sub Form_Resize()
'Check if the form is minimized
If Me.WindowHeight <= 1000 Then
' the form has been minimized, insert your code here
DoCmd.RunCommand acCmdAppMinimize
End If
End Sub
It did not work! Can you help me out? Is there a better way to do it?
Thanks,
Boon
Here is what I want it to happen --> When a user click minimize the form, I
want the Access application to minimize as well.
I put the Event procedure on the On Resize event of the form and put this
code in.
Private Sub Form_Resize()
'Check if the form is minimized
If Me.WindowHeight <= 1000 Then
' the form has been minimized, insert your code here
DoCmd.RunCommand acCmdAppMinimize
End If
End Sub
It did not work! Can you help me out? Is there a better way to do it?
Thanks,
Boon