![]() |
|
#8
|
||||
|
||||
|
You have:
Dim AgeofPlan As Date but you're passing 'DateDiff(yyyy, TheDate, Now)' to it, which is a number, not a date. To insert the content into the document, bookmark the destination, then use code like the attached.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Default dates for a Date Picker | BoringDavid | Word VBA | 2 | 09-11-2013 01:42 AM |
Date Picker
|
Andy2011 | Word VBA | 4 | 11-24-2012 10:07 PM |
word 2003 date picker
|
nashville | Word | 16 | 04-06-2012 04:12 AM |
| Date picker | trintukaz | Excel | 0 | 12-30-2011 12:42 AM |
Calculating age at date
|
jamierbooth | Excel | 2 | 02-22-2011 03:35 AM |