hi
I try making code when show the (DATE+10) in column B then should move amount from column C to column D if it's not then shouldn't happen any thing
I put the expected result in sheet2
this is my code but it doesn't work at all !
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Columns(2)) Is Nothing Then
If Target.CountLarge > 0 Then Exit Sub
Dim lr As Long
lr = sheet1.Cells(Rows.Count, 2).End(3).Row
With Target
If .Value = Date + 10 Then
Range("d" & lr) = Range("c" & lr)
Range("c" & lr).ClearContents
End If
End With
End If
End Sub
note : the date is not today . it based on column A . it should equal date in column A and add 10