Fast way to enter Dates in a Listbox with the Calendar control
Fast way to enter Dates in a Listbox with the Calendar control
API Declarations
Controls :
Calendar : Add control >> Components >> Microsoft Calendar control 8.0
Calendar name : Calendar1
ListBox name : List1
Rate Fast way to enter Dates in a Listbox with the Calendar control
(1(1 Vote))
'3 possibilities :
'1.Date only
List1.AddItem (Format(Calendar1, "d"))
'or
'2.Date & Month
List1.AddItem (Format(Calendar1, "d" & "/" & "m"))
'or
'3.Date & Month & Year
List1.AddItem (Format(Calendar1, "d" & "/" & "m" & "/" & "yy"))
Fast way to enter Dates in a Listbox with the Calendar control Comments
No comments yet — be the first to post one!
Post a Comment