Table of contents
Collapse the table of content
Expand the table of content

Form.AutoCenter Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Returns or sets a Boolean indicating whether a form will be centered automatically in the application window when the form is opened. Read/write.


expression. AutoCenter

expression A variable that represents a Form object.


The AutoCenter property uses the following settings.

SettingVisual BasicDescription
YesTrueThe form will be centered automatically on opening.
NoFalse(Default) The form upper-left corner will be in the same location as when the form was last saved.

You can set this property only in Design view.

Depending on the size and placement of the application window, forms can appear off to one side of the application window, hiding part of the form or report. Centering the form automatically when it's opened makes it easier to view and use.

If you make any changes in Design view to a form whose AutoResize property is set to No and whose AutoCenter property is set to Yes, switch to Form view before saving the form. If you don't, Microsoft Access clips the form on the right and bottom edges the next time you open the form.

See also


Form Object

© 2018 Microsoft