Ok, that works great in xcel - what if I want to use this function in a
query
in access - i get the error message "the expression you entered has a
function containing the wrong number of arguments". The exact query i am
using is:
=DATE(YEAR( [Employee Information Master]![Original Hire Date] ),MONTH(
[Employee Information Master]![Original Hire Date] )+4,DAY( [Employee
Information Master]![Original Hire Date] ))
Rick Rothstein (MVP - VB) said:
Try this....
=DATE(YEAR(C4),MONTH(C4)+4,DAY(C4))
You may want to look at what happens when you add 4 months to a date
whose
day value is more than the last day of the month four months hence. For
example, what should you get when you add four months to October 30th of
any
year?
Rick