设form1的keypreview=truePrivate Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    Call EnterToTab(KeyCode)
End SubPublic Sub EnterToTab(Keyasc As Integer)
    If Keyasc = 13 Then
        SendKeys "{TAB}"
    End If
End Sub