Maximizing Application

M

MHiemstra

How can I maximize the entire application on open. Everytime I open the
database the window is not isn maximized state.

I have docmd.maximize event on the forms, but is there something similar I
can do for the application (access) itself?
 
D

Dirk Goldgar

MHiemstra said:
How can I maximize the entire application on open. Everytime I open
the database the window is not isn maximized state.

I have docmd.maximize event on the forms, but is there something
similar I can do for the application (access) itself?

The VBA statement for this is

RunCommand acCmdAppMaximize

You can put that into the Open event of a Startup form, or write a
function to do it and run that function via the RunCode action from an
Autoexec macro.
 
M

MHiemstra

Thanks the autoexec worked out great...I posted about the Open event not
working from a web page, so I used the autoexec and everything worked out
fine.

Thanks again
 

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