Temjeh
XLDnaute Accro
Bonsoir et merci d'avance
J'ai ceci qui fonctionne très bien:
Private Declare Function mciExecute Lib "winmm.dll" (ByVal lpstrCommand As String) As Long
Sub PlayMP3()
Mp3File = ThisWorkbook.Path & "\" & "ForestEcho.mp3"
mciExecute ("play " & Mp3File)
End Sub
Sub StopMp3()
Mp3File = ThisWorkbook.Path & "\" & "ForestEcho.mp3"
mciExecute ("stop " & Mp3File)
End Sub
Y a-t-il un moyen de le faire jouer en boucle?
Merci
Temjeh
J'ai ceci qui fonctionne très bien:
Private Declare Function mciExecute Lib "winmm.dll" (ByVal lpstrCommand As String) As Long
Sub PlayMP3()
Mp3File = ThisWorkbook.Path & "\" & "ForestEcho.mp3"
mciExecute ("play " & Mp3File)
End Sub
Sub StopMp3()
Mp3File = ThisWorkbook.Path & "\" & "ForestEcho.mp3"
mciExecute ("stop " & Mp3File)
End Sub
Y a-t-il un moyen de le faire jouer en boucle?
Merci
Temjeh
Dernière édition: