ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can you stop a Msgbox from making a beep sound? Thanks. (https://www.excelbanter.com/excel-programming/430696-re-can-you-stop-msgbox-making-beep-sound-thanks.html)

kirkm[_9_]

Can you stop a Msgbox from making a beep sound? Thanks.
 
Thanks Guys.

Not really there yet though. How come broro183
doesn't hear it though? Speakers off ??

Sub TestMS()
Application.EnableSound = False
MsgBox "Done"
Application.EnableSound = True
MsgBox "Done again"
End Sub

A beep each time as the Msgbox appears.
Disabling Windows sound completely may be the only way
but seems a bit extreme.

Cheers - Kirk


All times are GMT +1. The time now is 05:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com