I'm trying to track down a problem I'm having with a popup non-modal form that for whatever reason, when the form is closed, Access is minimized and the most recently used window is opened (even a non-Microsoft program will be maximized).
The problem started when I tried to convert some VBA code (which was working) to an embedded macro:
Code:
Sub Command10_Click()
DoCmd.Close
DoCmd.OpenForm "MainMenu_frm"
DoCmd.Maximize
End Sub
I tried the embedded macro option using just close, then close and open form, but every time I click the close button, it would minimize access. So I went back to the vba code above. However, now the VBA code cause the same issue. I am using Access 2007, with tabbed documents and I ran a compact and repair to no avail. Any ideas?
Thanks!