Muokkaa

Jaa


MailModule.Position property (Outlook)

Returns or sets a Long value that represents the ordinal position of the MailModule object when it is displayed in the navigation pane. Read/write.

Syntax

expression.Position

expression A variable that represents a MailModule object.

Remarks

This property can only be set to a value between 1 and 9. An error occurs if you attempt to set this property to a value outside that range.

Changing the value of this property for a given MailModule object changes the Position values of other navigation modules in a NavigationModules collection, depending on the relative change between the new value and the original value.

  • If the new value is less than the original value, the specified MailModule object moves up to the new position and the other navigation modules that are already at or below that new position move down.

  • If the new value is greater than the original value, the specified MailModule object moves down to the new position and the other navigation modules that are between the old position and the new position move up, filling the old position.

See also

MailModule Object

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.