TextBox¦p¦ó³]©w¥u¯à¬O¾ã¼Æ?
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 3# acdx
TextBox1 = "" ¤w¸gµ¹§Aµª®×¤F¡I |
|
|
|
|
|
|
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 5# acdx - Sub Test()
- ' °²³] [B1] Äæ¦ìÄݩʬ°¤å¦r¡F¿é¤JÈ: 10¡B©Î¬O 10ABC
- ' «h¦¹®É [B1] ¬° Not IsNumeric([B1])
- If IsNumeric([B1]) Then
- [B3] = Abs(Int([B1]))
- Else
- If Val([A1]) > 0 Then
- [B3] = Abs(Int(Val([B1]))) ' ¨ú±o¼ÆÈ 10
- Else
- [B3] = "" ' ¸ÓÄæ¦ìȬ°«D¼ÆȤ§¤å¦r¦ê
- MsgBox "½Ð¿é¤J¼Æ¦r"
- End If
- End If
- End Sub
½Æ»s¥N½X ¦p¦¹Á|¨Ò¡A¤F¸Ñ§_¡H |
|
|
|
|
|
|