Muokkaa

Jaa


FormNameRuleCondition.FormName property (Outlook)

Returns or sets an Object that represents an array of form identifiers to be evaluated by the rule condition. Read/write.

Syntax

expression. FormName

expression A variable that represents a FormNameRuleCondition object.

Remarks

Even though the Rules and Alerts Wizard uses the display name of a form as an identifier, programmatically, FormName uses the message class of the form as an identifier.

You can assign an array with one string or an array of multiple strings to the FormName property. Multiple form identifiers assigned in an array are evaluated using the logical OR operation.

FormName returns an error if it contains one or more empty strings.

See also

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