Private Sub Command2_Click()
n = Val(Text1.Text)
If Int(n) <> n Then
MsgBox ("请输入整数")
End If
If n > 7 Or n < 1 Then
MsgBox ("数字超出范围")
Text1.Text = ""
End If
Text3.Text = Choose(n, "Mon", "Tue", "Wed", "Tur", "Fri", "Sat", "Sun")
End Sub
总是提示使用无效参数Null,请问为什么?