Hello,
Hier on a eu la question inverse, au départ au lieu du beep, la personne utilisait ce code :
Declare Function mciExecute Lib "winmm.dll" (ByVal lpstrCommand As String) As Long
Sub Alarme()
mciExecute ("play " & "C:\LeSon.mid") 'mettre le chemin+nom fichier+extension du fichier
End Sub
Mod'Op ici : http://www.mdf-xlpages.com/modules/smartfaq/faq.php?faqid=20