PlaySoundRuleAction Object (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

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

Represents an action that plays a .wav file sound.

PlaySoundRuleAction is derived from the RuleAction object. Each rule is associated with a RuleActions object which has a PlaySound property. The PlaySound property always returns a PlaySoundRuleAction object. If the rule has an enabled rule action that plays a sound file, then PlaySoundRuleAction.Enabled property would be True.

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

Show: