drop down box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I used the drop down box on my form, I would like it to populate a time
and date box.
 
Use the AfterUpdate event of the combo box control to write the current time
and date into textboxes on the form:

Private Sub ComboBoxName_AfterUpdate()
Me.TimeTextBoxName.Value = Time()
Me.DateTextBoxName.Value = Date()
End Sub
 
Back
Top