1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| Err_Commande62_Click:
Select Case Err.Number
Case 58: response = MsgBox("Voulez-vous l'ouvrir?", vbYesNo, "Le dossier " & Format(A, "0000") & B & " existe déjà")
If response = vbYes Then
' L'utilisateur a choisi Oui.
' Effectue une action.
CHEMIN = "C:\Users\Mario\Documents\film\act\" & C
dblSuccess = Shell("Explorer.exe /e, " & CHEMIN, vbMaximizedFocus)
Else ' L'utilisateur a choisi Non.
MyString = "Non" ' Effectue une action.
End If
Case 76: MsgBox "Chemin incorrect"
Case Else: MsgBox "Erreur inconnue"
End Select
Resume Exit_Commande62_Click |