Al borrar la celda que se borre la fecha
Buenos días
Al borrar las celdas necesitaría, que se borrase la fecha de la celda correspondiente:
Private Sub Worksheet_Change(ByVal Target As Range)
'Por.Dante Amor
'*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
' AGREGAR FECHA EN UNA COLUMNA
'*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
If Target.Column = 2 Then
If Cells(Target.Row, "A") = "" Then
Cells(Target.Row, "A") = Date
End If
End If
If Target.Column = 4 Then
If Cells(Target.Row, "C") = "" Then
Cells(Target.Row, "C") = Date
End If
End If
If Target.Column = 6 Then
If Cells(Target.Row, "E") = "" Then
Cells(Target.Row, "E") = Date
End If
End If
If Target.Column = 8 Then
If Cells(Target.Row, "G") = "" Then
Cells(Target.Row, "G") = Date
End If
End If
If Target.Column = 10 Then
If Cells(Target.Row, "I") = "" Then
Cells(Target.Row, "I") = Date
End If
End If
If Target.Column = 12 Then
If Cells(Target.Row, "K") = "" Then
Cells(Target.Row, "K") = Date
End If
End If
If Target.Column = 14 Then
If Cells(Target.Row, "M") = "" Then
Cells(Target.Row, "M") = Date
End If
End If
If Target.Column = 16 Then
If Cells(Target.Row, "O") = "" Then
Cells(Target.Row, "O") = Date
End If
End If
If Target.Column = 18 Then
If Cells(Target.Row, "Q") = "" Then
Cells(Target.Row, "Q") = Date
End If
End If
If Target.Column = 20 Then
If Cells(Target.Row, "S") = "" Then
Cells(Target.Row, "S") = Date
End If
End If
If Target.Column = 22 Then
If Cells(Target.Row, "U") = "" Then
Cells(Target.Row, "U") = Date
End If
End If
End Sub
Un saludo