Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datepicker default as today

Status
Not open for further replies.

McFestoe

Technical User
Dec 16, 2003
145
GB
Using the date picker on a form, i have tried various ways of geeting it display the current date, but itstead in reverts back to the date in the properties box.

Is there a way to get it to display the current date.

Tried to get the form on open to set the date via

dt2picker.value=date()

But just cant seam to get the date as todays when the form opens.
 
try
Code:
dt2picker.value=vba.date()

________________________________________________________
Zameer Abdulla
Help to find Missing people
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top