Maximize a minimized window from VBA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I maximize a minimized window from VBA?

I know the title of the application - and using the "AppActivate "apptitle"
" command works when run from an .mdb file. When run as an .mde file it does
not work - so I guess I have to be specific about how I want to activate the
application.
 
if you are running with MS Access

docmd.maximize

should do what you want and put the command into the form_open event.
 
well - I wasn't clear: I want to maximize another application than the one
where the VBA code resides. I.e. want app1.mde to activate and maximize
app2.mde
 
Back
Top