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

¸óªí¡A­«·s»s§@·sªº¤u§@ªí

¦^´_ 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
·j´M.rar (13.59 KB)

TOP

ÁÂÁ lpk187 ¤j¤j ¨ä¹ê³o¼Ë´N«Ü¦n¥Î¤F¡A«ÜÆg³á¡A¤£¥Î¤Ó¶Ë¸£¤F¡A·PÁÂ

TOP

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)

TOP

·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

TOP

        ÀR«ä¦Û¦b : ¡i°µ¤Hªº¶}©l¡j¨C¤@¤Ñ³£¬O¬G¤Hªº¶}©l¡A¨C¤@­Ó®É¨è³£¬O¦Û¤vªºÄµ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD