Calculate 90 calendar days from date entered

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to put a date in a cell and have the computer give the 90th calendar
date from original date. For example I put in 11/8/04 and the computer
calculates 2/7/05. Thanks
 
Use the AfterUpdate event procedure of the first date to assign a value to
the 2nd.

This example assigns the ReturnDate field to be 90 days after the HireDate:

Private Sub HireDate_AfterUpdate()
Me.[ReturnDate] = DateAdd("d", 90, Me.[HireDate])
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top