Open form at Top Left corner

  • Thread starter Thread starter Bradley C. Hammerstrom
  • Start date Start date
B

Bradley C. Hammerstrom

A2K

With AutoCenter set to No, I want the form to open exactly at the top left
corner of the Access Window.

Brad H.
 
Bradley C. Hammerstrom said:
A2K

With AutoCenter set to No, I want the form to open exactly at the top
left corner of the Access Window.

You can do this easily with a line of code in the form's Open event:

Private Sub Form_Open(Cancel As Integer)
DoCmd.MoveSize 0, 0
End Sub
 
Back
Top