Thread: Comparing dates
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mr. Dan[_2_] Mr. Dan[_2_] is offline
external usenet poster
 
Posts: 9
Default Comparing dates

Hello,

I would like to run a sub everytime a worksheet is opened that compares
todays date with a series of dates listed in column A. Cell A1 would, for
example, have May-05 (5/1/2005), cell A2 would have Jun-05 (6/1/2005), etc.

If todays month and year match up to a cell in the A column, then a value
from that row (maybe 5 cells over) is pasted into another worksheet.

Been playing around with this for a while and just can't get it!

Thanks in advance,
Dan