define where form opens

  • Thread starter Thread starter Wim
  • Start date Start date
W

Wim

Hi,

Is there a way to define where exactly on the screen a form (or report or
message box) is going to open?
 
Look up MoveSize in VBA Help, not Access Help.
Hi,

Is there a way to define where exactly on the screen a form (or report or
message box) is going to open?
 
Wim,

Use this code, possibly on the Open event of the form:

DoCmd.MoveSize x, y

.... where x and y are the horizontal and vertical positions of the forms
upper left corner, measured in pixels (567 per cm).
 
Thank you, both of you, for your help!

Steve Schapel said:
Wim,

Use this code, possibly on the Open event of the form:

DoCmd.MoveSize x, y

.... where x and y are the horizontal and vertical positions of the forms
upper left corner, measured in pixels (567 per cm).
 

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