![]() |
#7
|
|||
|
|||
![]() Quote:
I have tried to do this by Dim TheDate As Date Dim AgeofPlan As Date TheDate = DTPStartDate.Value AgeofPlan = DateDiff(yyyy, TheDate, Now) But keep getting a Run-time error '5': Invalid procedure call or argument on the last line. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default dates for a Date Picker | BoringDavid | Word VBA | 2 | 09-11-2013 01:42 AM |
![]() |
Andy2011 | Word VBA | 4 | 11-24-2012 10:07 PM |
![]() |
nashville | Word | 16 | 04-06-2012 04:12 AM |
Date picker | trintukaz | Excel | 0 | 12-30-2011 12:42 AM |
![]() |
jamierbooth | Excel | 2 | 02-22-2011 03:35 AM |