define where form opens

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?
 
S

Steve Schapel

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).
 
W

Wim

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).
 
Top