![]() |
#1
|
|||
|
|||
![]()
My company uses Word VBA to create templates for our customer service letters. In one of them I use a Date Picker to input the start date of a policy, but also need to calculate the age of that policy in years. I have tried use:
b = Format(Me.DTPStartDate.Value, "d MMMM yyyy") c = Format(Val(Date - Me.DTPStartDate.Value), "y") Where c is the age of the policy Any help would be much appreciated! |
|
![]() |
||||
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 |