Options.EnableSound Property

Word Developer Reference

True if Word makes the computer respond with a sound whenever an error occurs. Read/write Boolean.

Syntax

expression.EnableSound

expression   A variable that represents a Options object.

Example

This example sets the Provide feedback with sound option on the General tab in the Options dialog box, based on user input.

Visual Basic for Applications
  If MsgBox("Do you want Word to beep on errors?", 36) = vbYes Then
    Options.EnableSound = True
Else
    Options.EnableSound = False
End If

See Also