Align controls to each other

Microsoft Office Access 2003

  1. Open a form or report in Design view.
  2. To select the controls that you want to align, hold down the SHIFT key and click each control, or click the Select Objects tool Button image in the toolbox and then click and drag a rectangle over the controls.

    Select only controls that are in the same row or in the same column.

  3. On the Format menu, point to Align, and then click one of the following commands:
    • Left    Aligns the left edges of the controls with the left edge of the leftmost control.
    • Right    Aligns the right edges of the controls with the right edge of the rightmost control.
    • Top    Aligns the top edges of the controls with the top edge of the highest control.
    • Bottom    Aligns the bottom edges of the controls with the bottom edge of the lowest control.

Note  If any of the selected controls would overlap after being aligned, Microsoft Access places them with their edges next to each other instead.

ShowAlign controls to each other in a data access page

In a data access page, how you align controls to each other depends on whether you have Microsoft Internet Explorer 5.5 or 5 installed.

  • Open the data access page in Design view, and do one of the following.

    ShowIf you have Internet Explorer 5.5 installed

    1. Select the controls that you want to align by holding down the SHIFT key and clicking each control.

      Make sure that the control that you want to align the other controls to is the last control you select and that its sizing handles are white. This control is the primary selection.

      Primary selection with white selection handles

      Callout 1 The sizing handles of the primary selection are white.

    2. On the Format menu, point to Align, and then click one of the following commands:
      • Left    Aligns the left edges of the controls with the left edge of the primary selection.
      • Right    Aligns the right edges of the controls with the right edge of the primary selection.
      • Top    Aligns the top edges of the controls with the top edge of the primary selection.
      • Bottom    Aligns the bottom edges of the controls with the bottom edge of the primary selection.
      • Align Middle    Aligns the controls so that they are centered horizontally relative to the primary selection.
      • Align Center    Aligns the controls so that they are centered vertically relative to the primary selection.

    ShowIf you have Internet Explorer 5 installed

    1. On the Format menu, click Alignment and Sizing to display the Alignment and Sizing toolbar.

      Alignment and Sizing toolbar

      Callout 1 Align Left, Align Right, Align Top, and Align Bottom buttons

      Callout 2 Size Height, Size Width, and Size Height and Width buttons

    2. Make sure the control that is aligned the way you want is selected.
    3. Do one of the following:
      • To align just one control, click the button that you want on the Alignment and Sizing toolbar, and then click the control that you want to align to the selected control.
      • To align several controls, lock the button that you want on the Alignment and Sizing toolbar by double-clicking it, and then click the controls that you want to align to the selected control.
      • To release the lock, click the same or a different button on the Alignment and Sizing toolbar or press ESC.

ShowAlign controls to each other by using the grid

  1. Open a form, report, or data access page in Design view.
  2. If the grid isn't already displayed, click Grid on the View menu.
  3. Select the control or controls that you want to align. To select more than one control, hold down the SHIFT key and click each control, or drag a rectangle over the controls.

    Note  To select more than one control in a data access page, you must have Microsoft Internet Explorer 5.5 installed.

  4. On the Format menu, point to Align, and then click To Grid.