Private Sub Command1_Click() Text1.Text = Date End Sub
Private Sub Command1_KeyPress(KeyAscii As Integer) If KeyAscii = vbKeyReturn Then KeyAscii = 0 SendKeys "{TAB}" End If End Sub