FormRegion.Expanded event (Outlook)

Occurs when the form region expands or collapses

Syntax

expression. Expanded( _Expand_ )

expression A variable that represents a FormRegion object.

Parameters

Name Required/Optional Data type Description
Expand Required Boolean True if the form region is expanding; False if the form region is collapsing.

Remarks

This event cannot be cancelled.

Outlook always first loads a form region in an expanded state and sets IsExpanded to True. If the initial state of the form region is to be collapsed, then Outlook immediately closes the form region, fires the Expanded event with the Expand parameter being False, and sets IsExpanded to False.

See also

FormRegion 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.