
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A:A")) Is Nothing Then
Exit Sub
Else
If Target.Value <> "" Then
Range(Cells(Target.Row, 2), Cells(Target.Row, 4)).ClearContents
End If
End If
End Sub
|
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A:D")) Is Nothing Then Exit Sub
riga = Target.Row
If Cells(riga, 1) <> "" Then
Range(Cells(riga, 2), Cells(riga, 4)).ClearContents
End If
End Sub
|
