How do I enter year month day separately and combine them

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

Guest

How do I enter year month day separately and combine them. only year may be
enetered.
 
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.
 

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