题目内容:
在窗体文本框Text1中输入“456ABC”后,立即窗口上输出的结果是______。
Private Sub Text1 KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 97 To 122
Debug.Print UCase(Chr(KeyAscii));
Case 65 To 90
Debug.Print LCase(Chr(KeyAscii));
Case 48 To 57
Debug.Print Chr(KeyAscii);
Case Else
KeyAscii=0
End Select
End Sub
参考答案: