Controlling the position for a form

  • Thread starter Thread starter keithb
  • Start date Start date
K

keithb

Is there a way to designate where on the screen a form opens?

Thanks,

Keith
 
Is there a way to designate where on the screen a form opens?

Thanks,

Keith

Look up the MoveSize method in VBA help.

To place a form 2" from the left screen edge and 3.5" from the top
place the following code in the Form's Load event:

DoCmd.MoveSize 2*1440, 3.5*1440

All measurements are in Twips, 1440 per inch.
 

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

Back
Top