Beep accompanying My Message Box

J

JMay

I just entered into one of my spreadsheet modules:

Private Sub Worksheet_Activate()
MsgBox "Check Cell B1 - For Correct Month #"
End Sub

Now as I activate the (same) sheet I get (at no additional charge)
this "BEEP" << How can I disable this annoying sound?

TIA,
 
G

Gord Dibben

Private Sub Worksheet_Activate()
Application.EnableSound = False
MsgBox "Check Cell B1 - For Correct Month #"
End Sub

This is the only way I know of turning off a msgbox beep.


Gord Dibben MS Excel MVP
 
J

Jim Cone

A MsgBox with the Question button is quiet...
MsgBox "Did you check Cell B1 ?", vbQuestion
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"JMay" <[email protected]>
wrote in message
I just entered into one of my spreadsheet modules:

Private Sub Worksheet_Activate()
MsgBox "Check Cell B1 - For Correct Month #"
End Sub

Now as I activate the (same) sheet I get (at no additional charge)
this "BEEP" << How can I disable this annoying sound?

TIA,
 
D

Dave Peterson

It beeped for me (and my dog like hearing!)

Jim said:
A MsgBox with the Question button is quiet...
MsgBox "Did you check Cell B1 ?", vbQuestion
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware

"JMay" <[email protected]>
wrote in message
I just entered into one of my spreadsheet modules:

Private Sub Worksheet_Activate()
MsgBox "Check Cell B1 - For Correct Month #"
End Sub

Now as I activate the (same) sheet I get (at no additional charge)
this "BEEP" << How can I disable this annoying sound?

TIA,
 
J

Jim Cone

Dave,
They all beep except for the one with the question icon.
I have the hearing ability of a doorknob. <g>
Jim Cone
San Francisco, USA

Sub TestMe()
MsgBox "huh", vbInformation
MsgBox "huh", vbExclamation
MsgBox "huh", vbQuestion
MsgBox "huh", vbCritical
MsgBox "huh", vbYesNo
MsgBox "huh", vbAbortRetryIgnore
MsgBox "huh", vbRetryCancel
MsgBox "huh", vbOKCancel
End Sub


"Dave Peterson" <[email protected]>
wrote in message
It beeped for me (and my dog like hearing!)
 
D

Dave Peterson

Actually, I think that this is a windows setting

I could use Control Panel|Sounds And Audio Devices
and modify the Windows Question Event to turn off the associated sound.
(Like you already did!)

But I like the sound <vbg>.

I guess the OP could do the same thing--but this setting is a pc setting--not
something that excel will control.
 
J

Jim Cone

Dave,
I had already checked in the Sounds and Audio Devices list and
could not find anything relating to a "question" sound.
After reading your message, I checked again and it was there with
"none" applied to it. I believe it is the same person that hides my
car keys that is responsible. <g>
Jim Cone


"Dave Peterson" <[email protected]>
wrote in message
Actually, I think that this is a windows setting

I could use Control Panel|Sounds And Audio Devices
and modify the Windows Question Event to turn off the associated sound.
(Like you already did!)
But I like the sound <vbg>.
I guess the OP could do the same thing--but this setting is a pc setting--not
something that excel will control.
 
D

Dave Peterson

I know about that person!



Jim said:
Dave,
I had already checked in the Sounds and Audio Devices list and
could not find anything relating to a "question" sound.
After reading your message, I checked again and it was there with
"none" applied to it. I believe it is the same person that hides my
car keys that is responsible. <g>
Jim Cone

"Dave Peterson" <[email protected]>
wrote in message
Actually, I think that this is a windows setting

I could use Control Panel|Sounds And Audio Devices
and modify the Windows Question Event to turn off the associated sound.
(Like you already did!)
But I like the sound <vbg>.
I guess the OP could do the same thing--but this setting is a pc setting--not
something that excel will control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top