![]() |
|
#6
|
|||
|
|||
|
After a few researches I finally got the todays date shown as I want it. But when I run the userform and change the date it doesn't update in my docvariable.
But i have the code as above: ActiveDocument.Variables("varDate").Value = Format(Me.DTPicker1.Value, "Long Date") Does somebody know a solution that the date choosen in the userform is in my docvariable? |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DocProperty vs DocVariable | ChrisBrewster | Word VBA | 1 | 02-07-2014 02:09 PM |
| DocVariable formatting and the ability to truncate a string. | MaxInCO | Word | 1 | 12-18-2013 05:35 PM |
Calculate the coordinates of a DocVariable, Bookmark or paragraph.
|
MaxInCO | Word VBA | 5 | 12-11-2013 03:28 PM |
DTPicker date formatting
|
Andy2011 | Word VBA | 1 | 08-24-2012 02:45 PM |
DOCVARIABLE copy paste special
|
cyndor | Word | 2 | 04-06-2012 03:57 AM |