View Single Post
 
Old 01-30-2015, 06:57 AM
Attila Attila is offline Windows XP Office 2010 64bit
Novice
 
Join Date: Jan 2015
Posts: 7
Attila is on a distinguished road
Default

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?
Reply With Quote