Public WithEvents ppApp As Application
Private Sub ppApp_WindowActivate(ByVal Pres As Presentation, ByVal Wn As DocumentWindow)
'### Les 2 lignes qui suivent servent à exclure tout autre PowerPoint non concerné
'### Adaptez la constante LE_BON_PPT du nom de la bonne présentation PowerPoint
'### Si on ne le fait pas n'importe quel PowerPoint verra apparaître la MsgBox
Const LE_BON_PPT As String = "noisy.pptm"
If Application.ActivePresentation.Name <> LE_BON_PPT Then Exit Sub
'###
Dim rep&
'---
rep& = MsgBox(Prompt:="Pour une création tapez OUI" & vbLf & _
"Pour une modification tapez NON", _
Buttons:=vbYesNo, _
Title:="Création ou Modification")
If rep& = vbYes Then
'/// le code pour une céation
'..... votre traitement
ElseIf rep& = vbNo Then
'/// le code pour une modification
'..... votre traitement
End If
End Sub