次の方法で共有


Options.EnableSound Property (Word)

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.

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

See Also

Concepts

Options Object

Options Object Members