The function you need is most likely DateDiff. The attached demo, using a Calendar Control, should get you started. Considerably more code would be needed to return the number of year months and month days.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|