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

·j´M ExcelÀɮסB¬¡·~ï¦hµ§ÃöÁä¦r¡A¦A¦hµ§"§¹¾ã"¦C¥X

¦^´_ 9# mchan2k
¦^´_ 10# ericsm77

1.¶i¶¥¿z¿ï¬O§â©Ò¦³²Å¦X¿z¿ï±ø¥óªº¬ö¿ý³£¿z¿ï¥X¨Ó
2.VBA¨Ï¥ÎFIND«ü¥O,¤]¥i§â©Ò¦³²Å¦X±ø¥óªº³£§ä¥X¨Ó

TOP

¦^´_ 5# Hsieh
·Q½Ð°ÝHsiehª©¤j

§Ú¨Ï¥Î¦b§Úªº¸ê®Æ®w«á,·|¥X²{°»´ú¿ù»~
¥BÀx¦s®æªº®æ¦¡¤Æ±ø¥ó¤]¦³¿ù»~
¦Ó¦b§R°£¬d¸ß¸ê®Æ®É,·|¥X²{¥¨¶°µ{¦¡¿ù»~

¬O§_¦³­þ¸Ì»Ý­n°µ§ó¥¿
¬d¸ßºî¦X¸ê®Æ®w.rar (20.22 KB)

TOP

  1. Private Sub Worksheet_Change(ByVal Target As Range)
  2. Dim A As Range, Rng As Range
  3. If Target.Column = 1 Then
  4. With Sheets("ºî¦X¸ê®Æ®w")
  5. For i = 1 To .UsedRange.Rows.Count
  6.    Set A = .UsedRange.Rows(i).Find(Target)
  7.    If Not A Is Nothing Then
  8.      If Rng Is Nothing Then
  9.      Set Rng = .UsedRange.Rows(i)
  10.      Else
  11.      Set Rng = Union(Rng, .UsedRange.Rows(i))
  12.      End If
  13.     End If
  14. Next
  15. End With
  16. End If
  17. Application.EnableEvents = False
  18. If Not Rng Is Nothing Then Rng.Copy Target.Offset(, 1) Else Target.Offset(, 1).Resize(, 50) = ""
  19. Application.EnableEvents = True
  20. End Sub
½Æ»s¥N½X
¦^´_ 12# jackson7015
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 13# Hsieh

·PÁÂHsiehª©¥D
µ{¦¡¥i¥H¥¿±`¨Ï¥Î¤F

¥Ø«eÁÙ¦b´ú¸Õ¤¤¡A­Y¦³¨ä¥L°ÝÃD¦A¦^³øµ¹±z

TOP

¦^´_ 5# Hsieh


    ¤£¦n·N«äª©¥D¤j¤j,§Ú¥¿¦b´M§ä¦³Ãöfindªº¸ê®Æ,¦³©¯¨Ó¨ì³o­Ó¾Â¦ý¬Oª`¥U¤F¥¼¯à¤U¸üªþ¥ó,¤£ª¾ª©¥D¤j¤j¥i¤£¥i¥HEµ¹§Ú©O??:P
[email protected]

TOP

        ÀR«ä¦Û¦b : ­×¦æ­nô½t­×¤ß¡AÂǨƽm¤ß¡AÀH³B¾i¤ß¡C
ªð¦^¦Cªí ¤W¤@¥DÃD