Here is the code-
' you can add this code in workbook open module.
Sub tests()
Dim i As Long
For i = 2 To Sheets(1).Range("a1").End(xlDown).Row
If Day(CDate(Sheets(1).Range("c" & i).Value)) - Day(Now) = 1 And Month(CDate(Sheets(1).Range("c" & i).Value)) - Month(Now) = 0 Then
MsgBox "Employee Name --> " & Sheets(1).Range("b" & i).Value & " is having b'day tomorrow"
End If
Next i
End Sub
Download Excel Macro File http://www.filefactory.com/file/cc92d19/n/b_day_alerts.xlsm
how do i display the past weekends birthdays as a popup on every monday. im stuck editing it.
ReplyDeleteplz help
Hi I would like to make a popup of birthdays that happened the weekend every monday only. how to go about it.
ReplyDeletePlz help
you need to change in if condition
ReplyDeletecheck if today is monday and then in if condition use today + n days to cover a week period
ReplyDeleteyou can also post your query here for quick response
ReplyDeletehttps://www.facebook.com/groups/excelvbamacros