![]() |
|
Forum
|
|
|
#2 (permalink) |
|
XLDnaute Nouveau
Date d'inscription: septembre 2005
Messages: 11
|
Bonjour,
Je ne suis pas un expert, mais il me semble que tu ne peux l'envisager qu'en demandant à un autre programme (type Windows Media Player) d'executer l'audio... Excel n'étant pas le player le plus efficace... :P |
|
|
|
|
|
#3 (permalink) |
|
XLDnaute Impliqué
Date d'inscription: février 2005
Localisation: grenoble
Version Excel : Excel 2003 (PC)
Messages: 687
|
bonjour flamel , le forum une methode parmi d autres ................ Option Explicit
Declare Function sndPlaySound32 Lib 'winmm.dll' Alias 'sndPlaySoundA' _ (ByVal lpzSoundName As String, ByVal uFlags As Long) As Long Sub Musique() If Application.CanPlaySounds Then Call sndPlaySound32('d:\\excel\\goodbye.wav', 0) Call sndPlaySound32('d:\\excel\\buddyin.wav', 0) Call sndPlaySound32('d:\\excel\\buddyout.wav', 0) End If End Sub ' attention dans l ex les fichiers son se trouve d:\\excel salutations
__________________
salutations jean pierrre
|
|
|
|
![]() |
| Liens sociaux |
| Outils de la discussion | |
|
|