Evelynetfrancois
XLDnaute Impliqué
Bonjour tout le monde ......
Dans mon programme j ai sur un bouton
Private Sub CommandButton2_Click()
Selection.ClearContents
End Sub
Qui me renvoie automatiquement sur la macro suivante,( puisqu il y a changement !!) mais cette macro contient un MsgBox
Private Sub Worksheet_Change(ByVal Target As Range)
............
..........
MsgBox.........................................
End Sub
Est t il possible de contourner cette macro uniquement lorsque je clear ma feuille ?pour ne pas avoir cette MsgBox ?
puis-je rajouter une ligne "mystere" dans Private Sub CommandButton2_Click()?
bonne journée
E et F
Dans mon programme j ai sur un bouton
Private Sub CommandButton2_Click()
Selection.ClearContents
End Sub
Qui me renvoie automatiquement sur la macro suivante,( puisqu il y a changement !!) mais cette macro contient un MsgBox
Private Sub Worksheet_Change(ByVal Target As Range)
............
..........
MsgBox.........................................
End Sub
Est t il possible de contourner cette macro uniquement lorsque je clear ma feuille ?pour ne pas avoir cette MsgBox ?
puis-je rajouter une ligne "mystere" dans Private Sub CommandButton2_Click()?
bonne journée
E et F