Private Sub CommandButton4_Click()
Dim Ligne As Long
Dim AA As Long
If Me.ComboBox1.ListIndex <> -1 Then
If MsgBox("Confirmez-vous la modification de ce contact ?", vbYesNo, "Demande de confirmation de modification") = vbYes Then
Ligne = Me.ComboBox1.ListIndex + 2
For AA = 1 To 2
If Me.Controls("TextBox" & AA).Visible = True Then
Ws.Cells(Ligne, AA) = Me.Controls("TextBox" & AA)
End If
Next AA
End If
End If
Col = CmB_Jour.ListIndex + 3
ActiveWindow.ScrollColumn = Col
End Sub