Macros excel 2011 sous mac
sined
-
sined -
sined -
Bonjour,
Voici mes macros:
Option Explicit
Declare Function sndPlaySound32 Lib "c\system32\winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uflags As Long) As Long
Sub cp()
Call sndPlaySound32(ThisWorkbook.Path & "\cp.wav", 1)
End Sub
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Dim F As Worksheet
If Range("j2") = "ok" Then
Call cp
End If
end sub
s'affiche: fichier introuvable:c/system32/winmm.dll alors qu'il n'y à pas de problème sous windows
Que faut il modifier ?
MERCI
Voici mes macros:
Option Explicit
Declare Function sndPlaySound32 Lib "c\system32\winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uflags As Long) As Long
Sub cp()
Call sndPlaySound32(ThisWorkbook.Path & "\cp.wav", 1)
End Sub
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Dim F As Worksheet
If Range("j2") = "ok" Then
Call cp
End If
end sub
s'affiche: fichier introuvable:c/system32/winmm.dll alors qu'il n'y à pas de problème sous windows
Que faut il modifier ?
MERCI
A voir également:
- Macros excel 2011 sous mac
- Liste déroulante excel - Guide
- Adresse mac - Guide
- Word et excel gratuit - Guide
- @ Sur mac - Guide
- Aller à la ligne excel mac - Guide
Merci