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

¬d¸ßaÄæ¸ê®Æ¶ñ¤J¥N¸¹

¬d¸ßaÄæ¸ê®Æ¶ñ¤J¥N¸¹

111.rar (267.81 KB) ¦U¦ì¤j¤j§A­Ì¦n
¤p§Ì¦³¸ê®Æªí¡C·Q¥Î¥¨¶°ªí³æ¬d¸ßaÄæ¸ê®Æ¡C¦b¶ñ¤JeÄæ¸Ì¥N¸¹«ö§ó·s«á¶ñ¤J¸Ó¦CeÄæ¦ì¸m
ÁÂÁ¡C¦p¤U

¦^´_ 1# ÅQ®ð¨«¥þ¨­
  1. Private Sub CommandButton1_Click()
  2. For Each aa In Range([A2], [A2].End(xlDown))
  3. If aa = TextBox1.Text Then
  4. aa.Offset(, 4) = TextBox2.Text
  5. End If
  6. Next
  7. End Sub
½Æ»s¥N½X
¤@¤À§V¤O¡A¤@¤À¦¬Ã¬¡C
µo°ÝÃD«e¥i¥H¥ý·j¯Á¤º¤å¬O§_¦³¬ÛÃö½d¨Ò¡C

TOP

¦^´_ 2# faye59


    ½Ð°Ý¦pªG§ä¤£¨ì¬d¸ß¤£¨ì¸ê®Æ¡C¦³¿ìªk¸õ¥X¤pµøµ¡Åã¥ÜµL¸ê®Æ¶Ü
ÁÂÁÂ

TOP

¦^´_ 3# ÅQ®ð¨«¥þ¨­


    §ï¦¨For¤ñ¸û¾A¥Î
  1. Private Sub CommandButton1_Click()
  2. For i = 1 To Application.CountA(Range("A:A"))
  3. If Cells(i, 1) = TextBox1.Text Then Cells(i, 5) = TextBox2.Text: Exit For
  4. If i = Application.CountA(Range("A:A")) Then MsgBox ("¬dµL¦¹¸ê®Æ")
  5. Next
  6. End Sub
½Æ»s¥N½X
¤@¤À§V¤O¡A¤@¤À¦¬Ã¬¡C
µo°ÝÃD«e¥i¥H¥ý·j¯Á¤º¤å¬O§_¦³¬ÛÃö½d¨Ò¡C

TOP

        ÀR«ä¦Û¦b : ¤£©È¨Æ¦h¡A¥u©È¦h¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD