Share via

MS Access Sound Problem

Anonymous
2018-05-20T04:44:51+00:00

I installed faulty ["defective"] VBA code into a database in an application called Microsoft Access 2016. 

The faulty VBA code turned off all sounds in Access 2016, even for ALL databases.  The VBA code was supposed to mute sound using a button [behind which was the VBA code in the OnClick event] and unmute sound when the button was clicked again.  The unmute portion of the VBA code does not work which results in no sound being able to play in any database.

The faulty code VBA code made a "function call" to "Winmm.dll" to turn off the sound and turn sound on again.

How do I turn sound back on again?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2018-05-20T20:56:00+00:00

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-05-20T19:42:18+00:00

    Thanks, Jason, for your suggestion.  I tried to use the link you included on 3 different browsers and on each one I got "Sorry, your page cannot be found." (please see the image file attached).  Before I posted the problem, I had Access 2016 uninstalled and then reinstalled but it didn't fix the sound problem.  I do sincerely appreciate your attempts to help !!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-05-20T14:00:12+00:00

    Sorry, I’ve never used it before.

    You could try doing an online repair of the installation.

    The instructions to follow to do this are here:

    https://support.office.com/en-us/article/repair...

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-05-20T08:44:59+00:00

    Thanks, Jason, for your reply.  I couldn't restore prior to when the problem occurred reply.  The alternative sfc scan process [and associated processes] is waaay too technical for me since I am not a "teckie".  Mucho Thanks though.  Do you know if there is any VBA code that could be attached to a button control [in an "OnClick" event] that would turn Winmm,dll back "on"?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2018-05-20T06:18:51+00:00

    Can you use System restore to restore before you did that?

    You could also try running sfc /scannow

    https://support.microsoft.com/en-ca/help/929833...

    Was this answer helpful?

    0 comments No comments