Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub sel(KeyCode, shift, Nam)
Select Case KeyCode
Case 9 'Tab
NextBox Nam
Case 13 'Enter
NextBox Nam
Case Else
'do nothing
End Select
End Sub
Function NextBox(Nam)
Dim r As Range
For Each r In [CtrSeq]
If r.Value = Nam Then
ActiveSheet.Shapes(r.Offset(0, 1)).OLEFormat.Activate
Exit For
End If
Next
End Function
Sub TextBox1_KeyDown(ByVal _
KeyCode As MSForms.ReturnInteger, _
ByVal shift As Integer)
sel KeyCode, shift, TextBox1.Name
End Sub
Sub TextBox2_KeyDown(ByVal _
KeyCode As MSForms.ReturnInteger, _
ByVal shift As Integer)
sel KeyCode, shift, TextBox2.Name
End Sub
Sub TextBox3_KeyDown(ByVal _
KeyCode As MSForms.ReturnInteger, _
ByVal shift As Integer)
sel KeyCode, shift, TextBox3.Name
End Sub