wwbwb
Well-known Member
- Joined
- Oct 20, 2003
- Messages
- 513
Good morning (here at least)
I have the following code which works
What I have is a sheet("Reminders") that in col A I have dates and col B I have the reminder. What I want is for the above macro to look and adjust to the number of dates (cases) on the Reminders sheet. So as I add/remove dates from the Reminders sheet, the macros number of cases also adjusts. Any ideas or anyone have a better way of doing this?
I have the following code which works
Code:
Sub reminder()
Dim dates As Date
dates = Date
Select Case dates
Case "10/31"
MsgBox "happy halloween"
Case "11/1"
MsgBox "day after halloween"
Case "11/4"
MsgBox "Today is the 4th"
End Select
End Sub
What I have is a sheet("Reminders") that in col A I have dates and col B I have the reminder. What I want is for the above macro to look and adjust to the number of dates (cases) on the Reminders sheet. So as I add/remove dates from the Reminders sheet, the macros number of cases also adjusts. Any ideas or anyone have a better way of doing this?