Greetings, I think that this may be any easy question and that I am just having a brain freeze or something. But I have a list of 400 people in column A and their birthdays is column B. So using the autofilter to sort out the dates is easy enough, but I would like to be able to sort out by week or month. For example 5 or 6 months from now, I pull up the spreadsheet and I want to see the birthdays for the upcoming week. I tried typing in "today()" in the custom filter box but that did not work so I tried this in a macro.
Same result, (probably because there are only dates in the cells and not "Today()", right?)
Perhaps I am going about this in entirely the wrong way - I appreciate any input on how I should be doing this? Thanks, RB
Code:
Sub WeekSearch()
Selection.AutoFilter Field:=1, Criteria1:="Today()"
End Sub
Same result, (probably because there are only dates in the cells and not "Today()", right?)
Perhaps I am going about this in entirely the wrong way - I appreciate any input on how I should be doing this? Thanks, RB