How to build a date

N

Newbie

Hello,

How can we build a true date when we know the Year, the Month and the Day.
In Excel there is the Date function : Date(Year,Month,Day)
How can we do that within Project VBA ?

Thanks
 
G

Gérard Ducouret

Hello,
Use the DateSerial function :
DateSerial(year, month, day)

Gérard Ducouret
 

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

Top