Maximize a minimized window from VBA

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.
 
A

Alex White MCDBA MCSE

if you are running with MS Access

docmd.maximize

should do what you want and put the command into the form_open event.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top