Mute / Unmute sound (1 Viewer)

cpampas

Registered User.
Local time
Yesterday, 17:43
Joined
Jul 23, 2012
Messages
218
Is there a way to mute sound on my computer inmediatly beforeI use the command docmd.Quit
and also when loading my start up form I would like to unMute sound again

Many Thanks
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 01:43
Joined
Jul 9, 2003
Messages
16,282
Try
DoCmd.SetWarnings False

and then turn it on with

DoCmd.SetWarnings True
 

conception_native_0123

Well-known member
Local time
Yesterday, 19:43
Joined
Mar 13, 2021
Messages
1,834

Isaac

Lifelong Learner
Local time
Yesterday, 17:43
Joined
Mar 14, 2017
Messages
8,779
I can't remember right now why it was that I once used VBA for mute/unmute/volume and found it undesirable...maybe something about the NumLock key or other weird side effects - but anyway, I just want to say I've also had good results with this
 

cpampas

Registered User.
Local time
Yesterday, 17:43
Joined
Jul 23, 2012
Messages
218
Thanks conception_nati, that works nicely
 

Users who are viewing this thread

Top Bottom