Jouer un fichier WAVE

P

Pifou

Guest
Bonjour à tous, est ce que quelqu'un connait un moyen SIMPLE d'exécuter un fichier wave dans une macro VB ?
Merci à tous
 
D

David

Guest
Bonjour,

Voici 2 fils de discussion sur le sujet :

<http://www.excel-downloads.com/html/French/forum/read.php?f=1&i=3974&t=3919>

<http://www.excel-downloads.com/html/French/forum/read.php?f=1&i=5992&t=5992>

A+

David
 
B

Blandine

Guest
'Jouer fichier wav
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long

Sub JouerWAV()
Call PlaySound(ThisWorkbook.Path & "\wav jouer.wav", 0&, &H1 Or &H20000)

End Sub
 

Discussions similaires

Membres actuellement en ligne

Aucun membre en ligne actuellement.

Statistiques des forums

Discussions
312 215
Messages
2 086 329
Membres
103 183
dernier inscrit
karelhu35