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

¦p¦ó±NTextBox©M½s¸¹¤À¶}?

¦^´_ 2# GBKEE

Private Sub CommandButton1_Click()
For i = 2 To 4
    Controls("TextBox" & i) = ""
Next i
End Sub

    «ö¤U«ö¶s«á¥X²{¨S¦³©w¸q³o­ÓSub©ÎFunction

TOP

¦^´_ 1# av8d
  1. For i = 2 To 7
  2.     Controls("TextBox" & i) = ""
  3. Next i
½Æ»s¥N½X

­YTextBox2+TextBox3+++++TextBox7¤S¸Ó«ç¼g?
TextBox2+TextBox3+++++TextBox7->¶Ç¦^¦r¦ê
Val(TextBox2)+Val(TextBox3)+++++Val(TextBox7)->¶Ç¦^¼Æ¦r

TOP

¦^´_ 1# av8d
  1. BTO = Val(TextBox1)
  2. Bon = Val(TextBox2)
  3. Bte = Val(TextBox3)
  4. Bfy = Val(TextBox4)
  5. Boh = Val(TextBox5)
  6. Bfh = Val(TextBox6)
  7. Bot = Val(TextBox7)
  8. Ton = Val(TextBox8)
  9. Tte = Val(TextBox9)
  10. Tfy = Val(TextBox10)
  11. toh = Val(TextBox11)
  12. Tfh = Val(TextBox12)
  13. Tot = Val(TextBox13)

  14. ATO = BTO - (Ton + toh) / 10
  15. MsgBox ATO
½Æ»s¥N½X

TOP

½Ð°Ý¬°¤°»ò«¬ºA·|¤£²Å¦X?(·PÁÂGBKEE ¤j¤j¸Ñ¨M¤F§ÚªººÃ°Ý)

¥»©«³Ì«á¥Ñ av8d ©ó 2011-9-7 23:50 ½s¿è

cach.rar (34.33 KB)

½Ð°Ý¬°¤°»ò«¬ºA·|¤£²Å¦X?¦³¨S¦³¤ñ¸û§ÖÂIªº§@ªk?(¨Ò¦p:¥Î°j°é)

TOP

        ÀR«ä¦Û¦b : ¦h°µ¦h±o¡C¤Ö°µ¦h¥¢¡C
ªð¦^¦Cªí ¤W¤@¥DÃD