Right-Align a Control on a Form

  1. Drag a Label control from the Control Toolbox to the left of the area where you want to align a control.

  2. Remove any text from the Caption property.

  3. Right-click the label, then click Properties.

  4. On the Display page, select the Resize with form check box.

  5. Create the control that you want to align.

  6. Place the control to the right of the Label control.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.