View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
rwnelson rwnelson is offline
external usenet poster
 
Posts: 24
Default Overflow error - same code, different sheet

On the first sheet, M2 is the year, currently 2007. On every
subsequent sheet, M2 = P3 (format "yyyy") which is
=DATE(Jan!M2,1+1,1)+TIME(20,0,0) and the month is edited appropriately
for each sheet.