Options.EnableSound property (Word)
True if Word makes the computer respond with a sound whenever an error occurs. Read/write Boolean.
expression A variable that represents a 'Options' object.
This example sets the Provide feedback with sound option on the General tab in the Options dialog box, based on user input.
If MsgBox("Do you want Word to beep on errors?", 36) = vbYes Then Options.EnableSound = True Else Options.EnableSound = False End If
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.