¦p¦ó¨Ï¥Î¦hÓKeyCode~TextBox1.Activate¯à¨Ï¥Î°j°é¼¶¼g¶Ü?(¤w¸Ñ¨M¡A·PÁÂO¤j)
- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¦p¦ó¨Ï¥Î¦hÓKeyCode~TextBox1.Activate¯à¨Ï¥Î°j°é¼¶¼g¶Ü?(¤w¸Ñ¨M¡A·PÁÂO¤j)
¥»©«³Ì«á¥Ñ av8d ©ó 2011-9-12 11:32 ½s¿è
Private Sub TextBox1_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
i = 49
For j = 8 To 13
If KeyCode = i Then
¤u§@ªí1.OLEObjects("TextBox" & j).Activate
i = i + 1
Next
End If
End Sub
¥H¤W¸Ó¦p¦ó¼¶¼g¤~¯à¼g¥X°j°é?(¦p¤U)
If KeyCode = 49 Then
TextBox8.Activate
End If
If KeyCode = 50 Then
TextBox9.Activate
End If
If KeyCode = 51 Then
TextBox10.Activate
End If
¥H¦¹Ãþ±À~ |
|
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
- Private Sub TextBox1_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
- i = KeyCode
- If i < 49 Or i > 57 Then Exit Sub
- Me.OLEObjects("TextBox" & i - 41).Activate
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|