Here is an example of the
vb code I've worked with. If you need more than what I have pasted here, let me know?
Option Explicit
Dim cboOriginator As ComboBox
Private Sub ocxCalendar_Click()
cboOriginator.Value = ocxCalendar.Value
cboOriginator.SetFocus
ocxCalendar.Visible = False
Set cboOriginator = Nothing
End Sub
Private Sub ComboButton1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Set cboOriginator = EvaluationDueDate
ocxCalendar.Visible = True
ocxCalendar.SetFocus
If Not IsNull(cboOriginator) Then
ocxCalendar.Value = cboOriginator.Value
Else
ocxCalendar.Value = EvaluationDueDate
End If
End Sub