View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Roy Roy is offline
external usenet poster
 
Posts: 53
Default mONTH cOMPARISON

I have an excel spreadsheet that takes a date in cell b1 (1/25/206) and ads
7days to it (the new date becomes 2/1/2006) and ecords the new date in cell
b2. What I want to do is if the new value in (ie 2/1/2006) is in a differnt
monththan te originating date then cell b2 woould reocrd the word avg instead
of the date 2/1/2006. Howdo I do this? I am using vba.