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

¦P¼Ë¥¨¶°¥t¤@Àɮ׫o°õ¦æ¿ù»~

¸Õ¸Õ³o­Ó:
  1. Option Explicit
  2. Sub nn()
  3. Dim Rng As Range, A As Range, cell As Range
  4. With Sheet6
  5. Set Rng = .Range(.[A1], .[A65536].End(xlUp))
  6. End With
  7. With Sheet7
  8. For Each A In .Range(.[D1], .[D65536].End(xlUp))
  9.     If Not Rng.Find(A, lookat:=xlWhole) Is Nothing Then
  10.        If cell Is Nothing Then Set cell = A Else Set cell = Union(cell, A)
  11.     End If
  12. Next
  13. End With

  14. Sheet8.Cells.Clear
  15. cell.EntireRow.Copy
  16. Sheet8.Range("A1").PasteSpecial Paste:=xlPasteValues

  17. End Sub
½Æ»s¥N½X
µ¹¨ä¥L¤j¤j°Ñ¦Ò:
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

¥»©«³Ì«á¥Ñ kimbal ©ó 2010-8-6 01:10 ½s¿è

¦^´_ 6# ycchenzd

ª©¥»°ÝÃD,07¤W¹B¬O¨S°ÝÃDªº, 03ªº·|¥X°ÝÃD

½Ð¸Õ¸Õ§â
  1. Cell.EntireRow.Copy Sheet3.[A1]¡@
½Æ»s¥N½X
´«¦¨
  1. cell.EntireRow.Copy
  2. Sheet3.Range("A1").PasteSpecial Paste:=xlPasteValues
½Æ»s¥N½X
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

        ÀR«ä¦Û¦b : ­ì½Ì§O¤H´N¬Oµ½«Ý¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD