FormRegion.IsExpanded property (Outlook)

Returns a Boolean that indicates if the form region is expanded. Read-only.

Syntax

expression. IsExpanded

expression A variable that represents a FormRegion object.

Remarks

This property applies to adjoining form regions only and is ignored for separate form regions.

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.