If TextBox1 = "" then
TextBox1 = SelectedDateIn
Else TextBox2 = SelectedDateIn