Lone-wolf
XLDnaute Barbatruc
Bonsoir à tous,
comment sélectionner la dernière cellule non vide (colonne de sélection "b2:b100") avec ce code-ci:
A+![Cool :cool: :cool:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
comment sélectionner la dernière cellule non vide (colonne de sélection "b2:b100") avec ce code-ci:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Value = "" Then Exit Sub
If Target.Value <> Range("d2").Value Then
erreur
MsgBox "Erreur !", vbExclamation, "Microsoft"
Exit Sub
End If
End Sub
A+
Dernière édition: