How do I enter year month day separately and combine them

  • Thread starter Thread starter Guest
  • Start date Start date
Use the Dateserial() function

MyYear = 2005
MyMonth = 5
MyDay = 13

=Dateserial(MyYear, MyMonth, MyDay)
 
Thanks, this led to a different approach to the problem, using this function.
As Klatuu has written elsewher, there are many ways to skin a cat.
 
Back
Top