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

¦p¦ó¼g~­«´_ªº¸ê®Æ±N¨ú¥N­ì¦³ªº¸ê®Æ

¦p¦ó¼g~­«´_ªº¸ê®Æ±N¨ú¥N­ì¦³ªº¸ê®Æ

½Ð±Ð¦U¦ì°ª¤â¤j¦Ñ­Ì

§Ú·Q¥Î¡y¦Û­qªí³æ¡z¤è¦¡¿é¤J¸ê®Æ¡A
·|¦ba2 b2 c2 d2 e2 f2 g2·s¼W¤@µ§¸ê®Æ
¥H¦¹Ãþ±À
a3 b3 c3 d3 e3 f3 g3
a4 b4 c4 d4 e4 f4 g4
¦pªG¦b·s¼W¸ê®Æ®É¡A§PÂ_aÄæ¦ì¦³­«´_ªº¸ê®Æ®É¡A±N¨ú¥N­ì¦³¨º¡y¤@¾ã¦C¡z¦s¦bªº¸ê®Æ

­n¨º¦p¦ó¼g©O:dizzy:
½ñ¨¬¤ù¨è¡A¨É¨ü¥Í¬¡(Y)
¾K¥Í¹Ú¦º¡A´ýµM§Ñ§Ú(N)
(Y/N)?

¦^´_ 1# zcxzcxz

²³æªº¼gªk(¨S¦³¨¾§b­ò)
  1. Private Sub CommandButton1_Click()
  2. A = TextBox1.Text  '¦C¼Æ
  3. Range("A" & A) = TextBox2.Text
  4. Range("B" & A) = TextBox3.Text
  5. Range("C" & A) = TextBox4.Text
  6. Range("D" & A) = TextBox5.Text
  7. Range("E" & A) = TextBox6.Text
  8. Range("F" & A) = TextBox7.Text
  9. Range("G" & A) = TextBox8.Text
  10. End Sub
½Æ»s¥N½X
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦^´_ 2# hugh0620


    Private Sub CommandButton3_Click()
    Sheets("ºû­×¶i«×°O¿ýªí").Select
    Range("A1").Select
    Range("A65536").Select
    Selection.End(xlUp).Select
    ActiveCell.Offset(0, 0).Range("A2") = TextBox1.Text
    ActiveCell.Offset(0, 0).Range("B2") = TextBox2.Text
    ActiveCell.Offset(0, 0).Range("C2") = TextBox3.Text
    ActiveCell.Offset(0, 0).Range("D2") = TextBox4.Text
    ActiveCell.Offset(0, 0).Range("E2") = TextBox5.Text
    ActiveCell.Offset(0, 0).Range("F2") = TextBox6.Text
    ActiveCell.Offset(0, 0).Range("G2") = TextBox7.Text
    ActiveCell.Offset(0, 0).Range("H2") = TextBox8.Text
    ActiveCell.Offset(0, 0).Range("I2") = TextBox9.Text
    ActiveCell.Offset(0, 0).Range("J2") = TextBox10.Text
    ActiveCell.Offset(0, 0).Range("K2") = TextBox11.Text
End Sub
------------------------------------------------------
§ÚªºÄæ¦ìa¬O¥D­nªº³æ¸¹¡A¬O°ß¤@©Êªº¡A¦ý¨ä¥LÄæ¦ì¤º®eª¬ªp±`·|ÅÜ°Ê¡A¡yb~kÄæ¦ì¡z
¦]¬°µ§¼Æ¶q¤Ó¤j¡A·í¦³²§°Ê®É¡A´N»Ý§ì¥X¸ê®Æ¦C¥X¨Ó¾ãµ§­×§ï¡A©Ò¥H§Ú³]¤F¤@­Óªí³æ¡A¦b¿é¤J¸ê®Æ®É¡A¦pªGµo²{³æ¸¹¦³­«´_
§Æ±æ¥i¥H¦Û°Êªº¨ú¥Nb~kÄæ¦ìªº¸ê®Æ¡A¦ÓaÄæ³æ¸¹«h¬O¤£·|·s¼W¤@µ§¸ê®Æ¡A¦Ó¬O±N¤§«e¦³ªºÄæ¦ì¸ê®Æ°µ§ó·s
------------------------------------------------------
¦³¤°»ò¤èªk¥i¥H°µ¨ì¶Ü???³Â·Ð±z¤F:dizzy:
½ñ¨¬¤ù¨è¡A¨É¨ü¥Í¬¡(Y)
¾K¥Í¹Ú¦º¡A´ýµM§Ñ§Ú(N)
(Y/N)?

TOP

  1. Private Sub ComboBox1_Change()
  2. Set A = Sheet1.Columns("A").Find(ComboBox1.Text, LookIn:=xlValues)
  3. A = A.Row
  4. TextBox3.Text = Range("B" & A)
  5. TextBox4.Text = Range("C" & A)
  6. TextBox5.Text = Range("D" & A)
  7. TextBox6.Text = Range("E" & A)
  8. TextBox7.Text = Range("F" & A)
  9. TextBox8.Text = Range("G" & A)
  10. End Sub

  11. Private Sub CommandButton1_Click()
  12. Set A = Sheet1.Columns("A").Find(ComboBox1.Text, LookIn:=xlValues)
  13. A = A.Row
  14. Range("B" & A) = TextBox3.Text
  15. Range("C" & A) = TextBox4.Text
  16. Range("D" & A) = TextBox5.Text
  17. Range("E" & A) = TextBox6.Text
  18. Range("F" & A) = TextBox7.Text
  19. Range("G" & A) = TextBox8.Text
  20. End Sub

  21. Private Sub UserForm_Activate()
  22. UserForm1.ComboBox1.RowSource = "A1:A10"
  23. End Sub
½Æ»s¥N½X
¦^´_ 4# zcxzcxz



¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦^´_ 5# hugh0620


    ·PÁ¤j¤j¤£§[¶Þ½ç±Ð~:victory:
½ñ¨¬¤ù¨è¡A¨É¨ü¥Í¬¡(Y)
¾K¥Í¹Ú¦º¡A´ýµM§Ñ§Ú(N)
(Y/N)?

TOP

        ÀR«ä¦Û¦b : ±o²z­nÄǤH¡A²zª½­n®ð©M¡C
ªð¦^¦Cªí ¤W¤@¥DÃD