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

Réponses
10
Affichages
485

Statistiques des forums

Discussions
311 740
Messages
2 082 047
Membres
101 880
dernier inscrit
Anton_2024