Ah yes, alarms, I love alarms in Outlook....helps me remember my girlfriend's anniversary/birthday!
Anyway... YES! You can do it!
Turns out there are lots of ways to do it, depending on how/when you want the reminder/alarm to take place and how much information you want it to contain. Here's a simple alarm macro with date info hard-coded into it. This will run everytime you open the spreadsheet.
Private Sub Workbook_Open()
Dim msg As String
Dim i As Long
Dim j As Long
msg = "Don't forget your girlfriend's anniversary is soon! Go buy something!"
i = Date
j = 39068 'December 17, 2007 (Used =Date(Year,Month,Day) function to create number)
If i >= j Then MsgBox (msg)
End Sub
Bookmarks