-
DTPicker
Hi folks,
What is the best way to assign the value in a DTPicker to a variable? Right now I have the following:
Dim Date1 As Date
Date1 = DTPicker1.Day & "/" & DTPicker1.Month _
& "/"& DTPicker1.Year
which works but is not very efficient. Is there any way to assign the entire value of the DTPicker to the variable?
Thanks so much,
Andrew
-
Re: DTPicker
>way to assign assign the entire value ...
private Sub DTPicker1_Change()
Dim Date1 as date
Date1 = DTPicker1.Value
Caption = Date1
End Sub