You are confusing VBA with field coding - the two are entirely different. DateAdd is not a valid field code function. I have already given you links showing how to calculate dates in just about every conceivable way.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|