FormNameRuleCondition Object (Outlook)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a rule condition that evaluates whether a form name was used to send or receive an item.

FormNameRuleCondition is derived from the RuleCondition object. Each rule is associated with a RuleConditions object which has a FormName property. The FormName property always returns a FormNameRuleCondition object. If the rule has any of these rule conditions enabled, then FormNameRuleCondition.Enabled would be True.

For more information on specifying rule actions, see Specify Rule Conditions.