如果该属性值为 True,则 Word 会在导致出错时使计算机发出声音进行响应。Boolean 类型,可读写。
本示例根据用户的输入,设置“选项”对话框“常规”选项卡中“提供声音反馈”选项。
If MsgBox("Do you want Word to beep on errors?", 36) = vbYes Then Options.EnableSound = True Else Options.EnableSound = False End If