Where did you get this code? Evidently it's not your own.
RE: TopRow = (DayRange * 16) + 14
This code simply takes whatever the current DayRange value is (1 to 365), multiplies it by 16 then adds 14.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|