thequickness
New Member
- Joined
- Jul 17, 2019
- Messages
- 10
I have a sheet (not userform) with many ActiveX textboxes and checkboxes. It's used as a checklist for equipment inspections that gets printed out.
Tabbing through the textboxes and checkboxes is hard coded on Sheet1 with:
My issue is when I get to row 30 or so, it keeps tabbing, but the screen view doesn't move with the tabbing. I've tried CheckBox2.SetFocus but I get errors.
tx
Tabbing through the textboxes and checkboxes is hard coded on Sheet1 with:
Code:
Private Sub CheckBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = vbKeyTab Then
CheckBox2.Activate
End If
End Sub
My issue is when I get to row 30 or so, it keeps tabbing, but the screen view doesn't move with the tabbing. I've tried CheckBox2.SetFocus but I get errors.
Code:
Private Sub CheckBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = vbKeyTab Then
CheckBox2.Activate
End If
CheckBox2.SetFocus
End Sub
tx