Sub AddtoDate()
Dim LR As Long
Dim i As Long
LR = Range("B" & Rows.Count).End(xlUp).Row
For i = 1 To LR
If Range("B" & i) <> "" Then
Range("B" & i).Value = Range("B" & i) + 5
End If
Next i
End Sub
Sub add5days()
Dim RowNo As Long
For RowNo = 2 To ThisWorkbook.Worksheets(1).UsedRange.Rows.Count
If IsEmpty(Cells(RowNo, 2)) Then
'do nothing
Else
Cells(RowNo, 2) = Cells(RowNo, 2) + 5
End If
Next RowNo
End Sub
If Range("B" & i) <> "" AND range("B" & i).Offset(,1) ="Overdue" Then
If Range("B" & i) .offset(,1) = "Overdue" Then