Re: MsgBox sounds

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If there's no other solution you could replace the messagebox with a custom
form.

Tim

"Rich" <Rich@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7951ACF0-966E-472D-9D6A-1B8088FF4C83@xxxxxxxxxxxxxxxx
Thanks for the prompt response...however, this does not solve the problem.
The tickbox for "feedback with sound" was already un-checked...and even
with
these commands in the coding, the MsgBox still makes an annoying sound!
(I guess I should have mentioned this was turned off in my original post)

Any more clues or ideas?

"JLGWhiz" wrote:

To disable:

Application.EnableSound = False

To enable:


Application.EnableSound = True



"Rich" <Rich@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4052083E-45AD-44E9-85FD-B4863355B0AA@xxxxxxxxxxxxxxxx
Hi,

I am using a MsgBox command in a program which is being distributed to
a
large number of people across the business. I usually have my sound
muted
so
did not notice anything...but since sending out have received
complaints
that
the MsgBox's make loads of noise.

Using simple code in Excel 2003:

MsgBox MsgBoxText, 64, MsgBoxTitle

Can anyone please tell me how I can disable the sounds...and then
re-enable
them once the text box has been displayed.

Thanks,

Rich





.



Relevant Pages

  • Re: MsgBox sounds
    ... these commands in the coding, the MsgBox still makes an annoying sound! ...
    (microsoft.public.excel.programming)
  • Re: How to change sound that MsgBox makes?
    ... MsgBox sound that is automatically associated with, say, Question? ... SystemQuestion and SystemAsterisk by ... Is there any way, using the VB6 resource file, ...
    (microsoft.public.vb.general.discussion)
  • Re: Silent Msgbox?
    ... If you are referring to the overhead for the Mute calls, well, that's almost nothing -- less than 50 microsec each on my computer, compared to 100+ millisec for the Msgbox, depending on human response time to press OK. ... As I have said elsewhere in this thread, for testing purposes, I associate the Windows XP Startup.wav sound, which goes on for about 4.85 sec. ...
    (microsoft.public.excel.programming)
  • Re: MsgBox sound
    ... the corresponding Windows system sound ... How can I link a different sound to the MsgBox without ... > reason you can't create your own form to display messages ...
    (microsoft.public.access.modulesdaovba)
  • Re: Victory At Sea Question
    ... "Victory At Sea", which originally aired on NBC in 1952. ... commands in the piece, but I cannot understand what is being said over ... The sound I am interested in understanding is at the opening of the ... on the 1MC accompanied by something like "Reveille, reveille, ...
    (soc.history.war.world-war-ii)