message without a beep

R

randria

Hi,

Is it possible to set the beep OFF unless the message is critical ? If yes,
how does one go about it ?

Many thanks.
 
W

Wayne-I-M

You can just remove the word "Beep" fro the code

Private Sub SomeEventHere()
Beep
MsgBox "Some message here", vbCritical, "This is a critical Warning"
End Sub

Private Sub SomeEventHere()
MsgBox "Some message here", vbOKOnly, "This is not a critical Warning"
End Sub
 
R

randria

Many thanks for your quick reply, I did not add Beep in my code but still it
is on. Do I have to have to change some default settings somewhere ?
many thanks/
 

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