The formula I posted will work fine for whatever the current year is - you don't need separate fields to determine whether the year is a leap year. using that formula for building calendars for different years, you could either:
• delete {SET Yr {DATE \@ YYYY}} and change all the Yr references to UserYear; or
• change {SET Yr {DATE \@ YYYY}} to {SET Yr UserYear}
Similarly, depending on how you're determining that the month being worked with is February, you could change or delete the {SET Mo {DATE \@ M}} and *(Mo=2) parts of the formula.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|