View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Larry Levinson Larry Levinson is offline
external usenet poster
 
Posts: 42
Default find the first cell in a list of dates for January

Larry Levinson wrote:

In column A I have a list of dates, arranged in descending order, most
recent to oldest. I need to know where one year starts and another
ends to do a year_to_date calculation. I can test each cell for
datevalue being more than Jan. 1, but I would like to save cycles by
going to the end of January first and THEN comparing the datevalue of
the active cell ... also, I can not be sure that I have an entry for
each CALENDAR day ... (so, no, I can't just search for Jan. 31. By the
same token, I can't just search for Jan. 1)

However, it would appear that turning on autofilter would be a way to
do it ... could I get some help on the specific coding for it? arrays
and ubounds and not my forte (though my newsreader is ... :) )

Larry Levinson
Talking up to the vocal ...
LLevinson*Bloomberg.net
(remove the star etc ....)


Larry Levinson
Talking up to the vocal ...
LLevinson*Bloomberg.net
(remove the star etc ....)