Move Method (Outlook Controls)

Moves a control to the specified location.

Syntax

expression. Move(Left, Top, Width, Height, Layout)

expression A variable that represents an Outlook control object.

Parameters

Name Required/Optional Data type Description
Left Optional Variant Single-precision value, in points, indicating the horizontal coordinate for the left edge of the object.
Top Optional Variant Single-precision value, in points, that specifies the vertical coordinate for the top edge of the object.
Width Optional Variant Single-precision value, in points, indicating the width of the object.
Height Optional Variant Single-precision value, in points, indicating the height of the object.
Layout Optional Variant A Boolean value indicating whether the Layout event is initiated for the control's parent following this move. False is the default value.

Remarks

The maximum and minimum values for the Left, Top, Width, and Height arguments vary from one application to another.

You can move a control to a specific location relative to the edges of the form that contains the control.

Use named arguments, or you can enter the arguments by position. If you use named arguments, you can list the arguments in any order. If not, you must enter the arguments in the order shown, using commas to indicate the relative position of arguments you don't specify. Any unspecified arguments remain unchanged.

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.