- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 11# av8d
Val ±N¦r¦êÂà´«¬°¼Æ¦r- Option Explicit
- Private Sub CommandButton2_Click()
- Dim N(), i ,ATO
- ReDim N(1 To 3)
- For i = 1 To 3
- N(i) = Val(¤u§@ªí1.OLEObjects("TextBox" & i).Object.Value)
- 'N(i) = ¤u§@ªí1.OLEObjects("TextBox" & i).Object.Value
- Next
- ATO = N(3) + N(2)
- 'ATO = Val(N(3)) + Val(N(2))
- MsgBox ATO
- End Sub
- ''''''''''''''''Åܼƫü©w¬°¾ã¼Æ '''''''''''''''''''''''
- Private Sub CommandButton2_Click()
- Dim N() As Integer, i As Integer, ATO As Integer
- i = 3
- ReDim N(1 To i)
- For i = 1 To 3
- N(i) = ¤u§@ªí1.OLEObjects("TextBox" & i).Object.Value
- Next
- ATO = N(3) + N(2)
- MsgBox ATO
- End Sub
½Æ»s¥N½X |
|