How to change a Date in Project 2010 VBA RRS feed

  • Question

  • I am creating an ad-in for Project 2010. I want to take a date, CurrentDate, and declare a new date, FutureDate, whose value is one year after CurrentDate. For example, if CurrentDate=10/1/14, then FutureDate=10/1/15. How do I do that?
    Tuesday, October 14, 2014 6:52 PM

All replies

  • Mr. Lee,

    Use: dateadd("yyyy",1,"10/1/14")

    Note, the syntax for this function is in the Help file from the Object Browser.


    Wednesday, October 15, 2014 4:20 PM