Centering forms

dcnick

Registered User.
Local time
Today, 10:44
Joined
Feb 26, 2002
Messages
38
I am using Access 2007 and cannot get a form to center, even after trying the following:

1. Overlapping windows is selected
2. Form Properties
AutoCenter: Yes
AutoResize: Yes​

3. In the "OnLoad" Event, tried:
DoCmd.Restore
Me.Move 0,0,5000,5000​

Regardless, it always opens in the bottom left corner of the screen. I"ve tried different numbers in the "Me.Move" statement for 0,0; and it still opens in the bottom left corner of the screen

Any help is appreciated!:mad:
 
Last edited:
the autocenter property should center the form. note that if you change the property and just close the form without saving it, the property does not get changed. also, you cannot change form properties through vba without first opening the form in design view, otherwise the code will throw an error.
 
Not sure why it isn't working, but AutoCenter = Yes is not doing the trick.
 
Well, can you upload a copy of the database (with either bogus data or no data just for testing this out)?
 

Users who are viewing this thread

Back
Top Bottom