Bonjour,
Ci-joint une fichier avec la macro suivante pour protéger la ligne complète du tableau si la colonne 6 = "V":
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim oList As ListObject
Set oList = Target.ListObject
If Not oList Is Nothing And Target.Count = 1 Then
lig = Target.Row - 4
If oList.Range(lig, 6) = "V" Then
Target.Offset(, -1).Select
End If
End If
Set oList = Nothing
End Sub
Comment obtenir le meme resultat par rapport au tableau et non à la position du tableau dont les titres doivent etre en cinquième ligne. ( lig = Target.Row - 4)????
je ne sais pas si j'ai bien posé le problème!!
Merci