If e.KeyCode = Keys.Down Then e.Cancel = True Sendkeys.Send("{tab}")Else If e.KeyCode = Keys.up Then e.Cancel = True Sendkeys.Send("+{tab}")End If