yes I initialized the date.
What is weird ist that in my document (whit several textboxes an comboboxes) where I actually need the datepicker it doesn't work. But when I Open a new blank document and make a userform with just a datepicker and a docvariable it works
only with the code:
activedocument.variables("var2").Value = DTPicker1.Value
|