how can i change the message line of this code to display no only column c details but also column "D" and "E" and popup dialog.
Here it's the code:
Thanks
Here it's the code:
Code:
Dim lstRow As Long
Dim i As Long
Dim msg As String
msg = "Alert!!! The following schedules need attention, payment will be due soon:" & vbCrLf & vbCrLf
lstRow = Range("A" & Rows.Count).End(xlUp).Row
For i = 4 To lstRow
If Range("A" & i) - Date <= 3 Or Range("A" & i) - Date < 0 Then
[B]msg = msg & Range("C" & i).Value & " : Scheduled in " & Range("A" & i) - Date & " Days" & vbCrLf[/B]
Thanks