ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] TextBox¦p¦ó­­¨î¿é¤J½d³ò(µ{¦¡½X§ó§ï)

[µo°Ý] TextBox¦p¦ó­­¨î¿é¤J½d³ò(µ{¦¡½X§ó§ï)

¦U¦ì¤j¤j­Ì¦n!

½Ð°Ý¸Ó¦p¦ó³]©wTextBox¡A¤~¯à­­¨î¿é¤J½d³ò
¥Ø«e¥u¯à­­¨îÅý¥L¿é¤J¼Æ­È¦Ó¤w¡A
·Q­n­­¨î½d³ò¬°:  21<=TextBox<161
¤£ª¾¹D¸Ó¦p¦ó³]©w¤~¯à·í¥¦ªº¶W¹L­­¨î½d³ò®É¡A·|¥X²{¿ù»~°T®§©O?
·PÁ¤j®a!

Private Sub TextBox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
    If KeyAscii < 48 Or KeyAscii > 57 Then
        KeyAscii = 0
        MsgBox "Please enter the value!"
End Sub

        ÀR«ä¦Û¦b : ¯à¥I¥X·R¤ß´N¬OºÖ¡A¯à®ø°£·Ð´o´N¬O¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD