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/430655-re-can-you-stop-msgbox-making-beep-sound-thanks.html)

broro183[_142_]

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


hi,

I haven't experienced a beeping message box. When does the beep occur,
is it:
- when the message box is displayed?
- or when the user presses a button on the message box?

Can you view the macro code?
Is the Msgbox line preceeded by a code line stating "Beep"?
If so, delete the "Beep" statement.

hth
Rob


--
broro183

Rob Brockett. Always learning & the best way to learn is to
experience...
------------------------------------------------------------------------
broro183's Profile: http://www.thecodecage.com/forumz/member.php?userid=333
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=111964


Chris \Smitty\ Smith

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

If I recall, the beep is setup in your system sounds (asterisk).

You can turn the sound off if you want.

Hope that helps,

"broro183" wrote in message
...

hi,

I haven't experienced a beeping message box. When does the beep occur,
is it:
- when the message box is displayed?
- or when the user presses a button on the message box?

Can you view the macro code?
Is the Msgbox line preceeded by a code line stating "Beep"?
If so, delete the "Beep" statement.

hth
Rob


--
broro183

Rob Brockett. Always learning & the best way to learn is to
experience...
------------------------------------------------------------------------
broro183's Profile:
http://www.thecodecage.com/forumz/member.php?userid=333
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=111964



Burnnie Holliday

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

try:

Application.EnableSound = False

Just make sure to turn the property back to true after code execution, as
this turns off sound feedback for ALL Office applications.
--
Burnnie Holliday

--
Burnnie Holliday
Data Wrangler


All times are GMT +1. The time now is 04:25 AM.

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