Can you specify forms to open to a specifc size?

amorts

Board Regular
Joined
Jan 4, 2006
Messages
181
Hi, I have a switchboard which contains command buttons to various other forms.

Is it possible to set a default windon size and screen position on open for each of these forms?

Also how do I get the switchboard form to open automatically when the database is opened?

Your help is appreciated. Thanks.
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

amorts

Board Regular
Joined
Jan 4, 2006
Messages
181
Thanks for this, I am assuming you must place this code within the Form_Load stubs?
 

VicRauch

Well-known Member
Joined
Mar 23, 2006
Messages
2,032
Yes, the best place to put the DoCmd.MoveSize code is in the OnLoad event of each form.
 

Watch MrExcel Video

Forum statistics

Threads
1,108,614
Messages
5,523,902
Members
409,542
Latest member
Shezz01

This Week's Hot Topics

Top