How can I get the date selected by the person using the date picker to have a value in a cell? This is the code I am using right now and it is not working.
Private Sub DTPicker2_CallbackKeyDown(ByVal KeyCode As Integer, ByVal Shift As Integer, ByVal CallbackField As String, CallbackDate As Date)
DTPicker2.Value = Range("cover sheet!k22")
End Sub
Private Sub DTPicker2_CallbackKeyDown(ByVal KeyCode As Integer, ByVal Shift As Integer, ByVal CallbackField As String, CallbackDate As Date)
DTPicker2.Value = Range("cover sheet!k22")
End Sub