Board logo

¼ÐÃD: ¸óªí¡A­«·s»s§@·sªº¤u§@ªí [¥´¦L¥»­¶]

§@ªÌ: regedit77    ®É¶¡: 2015-8-25 14:17     ¼ÐÃD: ¸óªí¡A­«·s»s§@·sªº¤u§@ªí

¥\¯à´N¬O§Ú¦bsheet2 ªºA2 ¿é¤J¡AµM«á¥¦·|¨ìshee1ªºaÄ椤§ä sheet2 a2 ¿é¤Jªº­È¡A¨Ã´_»s¨ä¸ê®Æ¦bsheet2 BÄæ­«·s½s¸¹¤@ª½¤U¥h

¥i¥H¤£­n¥Îµ{¦¡´N¤£­n¥Î¡A¦]¬°¤j®a³£¬O°ª¤â¡A§Ú³£¬Ý¤£À´
§@ªÌ: p212    ®É¶¡: 2015-8-25 16:47

¥»©«³Ì«á¥Ñ p212 ©ó 2015-8-25 16:52 ½s¿è

¦^´_ 1# regedit77
1#½d¨Ò¤¤¡ASheet2Àx¦s®æA2¿é¤J¡u15¡v¤]¥u¯à¹ïÀ³¥XSheet1¤§AÄ涵¦¸15ªº¤@µ§¸ê®Æ¡A¤½¥q¦W¬°¡uÁp¦X¾÷¾¹¡v¡C
½Ð°Ý¡A¬°¦óÁÙ¦³¥t¥~¤Gµ§-¶µ¦¸9ªº¡u´¹´¹´¹¦³­­¤½¥q¡v»P¶µ¦¸6ªº¡uªü¤T¦³­­¤½¥q¡v¡H
¦p¦¹¦ü¥GµL³W«h¡A¥i§_»¡©ú¤@¤U¡H
ÁÂÁ¡I
§@ªÌ: ikboy    ®É¶¡: 2015-8-25 17:41

¦p²q¤¤§Aªº·N«ä¡A¥i±N B2:H2 ¤½¦¡¤U©Ô§Y¥i
B2==COUNTA($A$2:A2)
C2==VLOOKUP($A2,Sheet1!$A:$G,COLUMN(B1),0) ¥k©Ô¦Ü H2
§@ªÌ: lpk187    ®É¶¡: 2015-8-25 17:59

¦^´_ 1# regedit77

¦pªG¥u­­©w¦bA2¿é¤J¡A¨º¤@©w­nµ{¦¡¤~¦æ¡A§_«h3¼Óªº¨ç¼Æ¥Îªk¡A­Ë¬O¤£¿ùªº¤è¦¡

§Ú´£¨Ñªº¬Oµ{¦¡¥Îªk

    [attach]21802[/attach]
§@ªÌ: regedit77    ®É¶¡: 2015-8-25 20:59

«D±`·PÁ p212¡Bikboy¡Blpk187 ¤T¦ì¤j¤jªº«ü¾É¡A
¥i¯à§Úªº»y·N¤£²M¡Asorry ¡A§Úªº·N«ä´N¬O¦p lpk187 ¤j¤j¨ºªºµ{¦¡¼gªº¨º¼Ë¦b¤@­Ó®æ¤lùØ
¿é¤JµM«á¹ïÀ³¨ä¸ê®Æ¡Aªþ¥ó¤¤ªº²Ä¤Gµ§¤Î²Ä¤Tµ§¸ê®Æ¡A´N¬OA2 ¿é¤J®É²£¥Íªº

lpk187 ¤j¤j¼gªºµ{¦¡´N¬O§Ú©Ò»Ý­nªº¡A¦ý²{¦b´N¬O¿é¤J1-5 ¦n¹³·|¹ï¤£¨ì
µ{¦¡½X§Ú¬Ý¤£À´¡A¥\¤OÁÙ¤£°÷¡A¤£¤Ó·|§ï¡A¥i¯à­n³Â·Ð lpk187 ¤j¤j¤F

ikboy ¤]Åý§Ú¾Ç¨ì­ì¨Ó¥i¥H¤ÏªÌ«ä¦Ò¡A¤£­n¤@ª½·Q¦b¤@­Ó®æ¤lùØ¥´Âà¡A±q«á­±¤Ï±À¦^¨Ó
¯u¬O¦³¤~

Á`¤§·PÁ¤T¦ì¤j¤jªº¥Î¤ß  ¤p¤k¤l ÁÂÁ¤F
§@ªÌ: lpk187    ®É¶¡: 2015-8-25 21:39

¦^´_ 5# regedit77


    [attach]21804[/attach]
§@ªÌ: regedit77    ®É¶¡: 2015-8-27 19:31

·PÁ lpk187 ¤j¤j ªº«ü¾É¤Î¶K¤ß ¡AÁÙ§â A2 Äæ¦ì³]©w¦n¡A¨C¦¸³£·|¦Û¦æ¤Ï¦^

¦A¦¸·PÁ lpk187
§@ªÌ: regedit77    ®É¶¡: 2015-11-22 07:01

¥»©«³Ì«á¥Ñ regedit77 ©ó 2015-11-22 07:06 ½s¿è

[attach]22538[/attach][attach]22538[/attach]¤§«e³o lpk187 ©Ò³]­pªº ·j´M.V2.rar «Ü¦n¥Î¡A¦ý²{¦b»Ý­n·s¼W¤@­Ó¤p¥\¯àªº°ÝÃD¬O¡A¦pªG©Ò©l¸ê®Æsheet1 ªº¬Y¦C¸ê®Æ¦r¦³ÃC¦â°Ï§Oªº¸Ü¦Ò¨©¨ìsheet2 ¤£·|¤@¼Ë¦³ÃC¦â¡A¥i¥HÅý¥L´_»s¹L¥h®É¡A¦rªºÃC¦â¤@°_¹L¥h¶Ü?

¦]¬°¤@¶}©l®É¡A¬O·Q»¡¤£¥Îµ{¦¡ªº¤èªk¹F¦¨¡A©Ò¥H´N©µÄò¥¦¤U¨Ó¡A§Æ±æª©¥D­ì½Ì
§@ªÌ: lpk187    ®É¶¡: 2015-11-22 14:10

¦^´_ 8# regedit77

[attach]22540[/attach]
Àɮפ¤¦³¥[¤F¤@­Ó¥¨¶°¡A"²M°£"¡A¬OÀx¦s®æ®æ¦¡ªº¤å¦r¦â±m¡A§ï¦^­ì¨Óªº¦Û°Ê
§@ªÌ: regedit77    ®É¶¡: 2015-11-22 16:14

·PÁ lpk187 ¤j¤j ªºÀ°¦£¡A²{¦b¦³¨â­Ó°ÝÃD ²Ä¤@­Ó´N¬O¦boffice2003 ¤U°õ¦æµo¥Í¤F¦p¹Ïªº¿ù»~¡AµM«á¦boffice2013 ¤U°õ¦æ¥¿±`¨S°ÝÃD¦ý«ö²M°£¶s«á¬O§â©Ò¦³ªº¤º®e¸ê®Æ²M°£¡A¤£¬O¥u¦³²M°£ÃC¦â¡A³o¼Ëªº°Ê§@¬O¥¿½Tªº¶Ü¡A¦pªGsheet1 ªº¦r¬O¦³±×Åé©Î²ÊÅé¥[ÃC¦â¥i¥H´_»s¹L¥h¶Ü¡A¦pªG¤£¦æ¤]¨SÃö«Y¡A³o¼Ë´N«Ü´Î¤F¡AÁÂÁÂlpk187¤j¤j[attach]22541[/attach][attach]22541[/attach][attach]22542[/attach][attach]22542[/attach]
§@ªÌ: lpk187    ®É¶¡: 2015-11-22 16:56

¦^´_ 10# regedit77


    «ö²M°£¶s«á¬O§â©Ò¦³ªº¤º®e¸ê®Æ²M°£¡A¤£¬O¥u¦³²M°£ÃC¦â¡A³o¼Ëªº°Ê§@¬O¥¿½Tªº¡I¡I¨ä¹ê³o°Ê§@¤]¬O·í§A²M°£¸ê®Æ«á¡A¤]«ì´_­ì¨Ó¤å¦rªº¦â±m¡A­Y¤£·Q¦b¤@°_¡A§A¤]¥i¥H§â¥¦¤À¶}
¥t¥~¡A·|¥X²{°ÝÃDªº¦a¤èÀ³¸Ó¬O2003¤£¤ä´©¡A¨ä¹ê¥i¥H§â¨º¤@¦C§R°£±¼ªº¡I
[attach]22543[/attach]
§@ªÌ: regedit77    ®É¶¡: 2015-11-22 17:16

ÁÂÁ lpk187 ¤j¤j ¨ä¹ê³o¼Ë´N«Ü¦n¥Î¤F¡A«ÜÆg³á¡A¤£¥Î¤Ó¶Ë¸£¤F¡A·PÁÂ
§@ªÌ: ­ã´£³¡ªL    ®É¶¡: 2015-11-22 19:50

Private Sub Worksheet_Change(ByVal Target As Range)
Dim xF As Range, xE As Range
With Target
¡@¡@¡@If .Address <> "$A$2" Then Exit Sub
¡@¡@¡@If .Value = "" Then Exit Sub
¡@¡@¡@Set xF = [Sheet1!A:A].Find(.Value, Lookat:=xlWhole)
¡@¡@¡@If xF Is Nothing Then MsgBox "µL¦¹¸ê®Æ": GoTo 999¡@'§ä¤£¨ì¡A¸õ¦Ü¡e¼Ð°O999¡f¡A¨Ãµ²§ô°õ¦æ¡@
¡@¡@¡@Set xE = Cells(Rows.Count, "B").End(xlUp)(2)¡@'¢ÐÄæ³Ì«á¤@µ§¸ê®Æªº¤U¤@ªÅ¥Õ®æ¡@
¡@¡@¡@Application.EnableEvents = False
¡@¡@¡@xF.Resize(1, 7).Copy xE¡@'½Æ»s¤º®e¡]§t®æ¦¡¡^¡@
¡@¡@¡@xE = xE.Row - 1¡@'¡e§Ç¸¹¡f¥H¡e¦C¸¹¡f´î¢°¡@
End With
999:
Target.Select
Application.EnableEvents = True
End Sub


¥H¤U¨â¦æ·N«ä¤@¼Ë¡G
Set xE = Cells(Rows.Count, "B").End(xlUp)(2)
Set xE = Cells(Rows.Count, "B").End(xlUp).Cells(2, 1)
§@ªÌ: regedit77    ®É¶¡: 2015-11-23 08:03

·PÁ ­ã´£³¡ªL ¤j¤jªº«ü¾É¡A¦b office 2003 °õ¦æ¤]«Ü¶¶§Q¡A¥»¨Ó¬O¤£¤Ó·Q¾Çµ{¦¡¦p¦ó¼gªº¡A¥uı±o¤@¨Ç¤½¦¡·|¥Î´N¦n¡A¬Ý¼Ë¤l­nµy·L¾Ç¤@¤Uµ{¦¡¤F¡A©¹«á¤£À´ªº¦a¤è¦b½Ð¦U¦ì¤j®v«ü¾É¡AÁÂÁ¤F




Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)