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

¦h­Ó¤u§@ªí ¤ñ¹ï «á§R°£¦C

¦h­Ó¤u§@ªí ¤ñ¹ï «á§R°£¦C

¦U¦ì¤j¤j¤È¦w ¦³³Ò¤F
¦³ sheet1, sheet2, sheet3, ·Ç«h µ¥4­Ó¤u§@ªí
¨ä¤¤ sheet1, sheet2, sheet3 ³£¥]§t¤F·Ç«h¤u§@ªíaÄæ¨Ç¸ê®Æ
¦p¦ó§R°£ sheet1, sheet2, sheet3 ¤T­Ó¤u§@ªí ©Ò¦³§t¦³·Ç«h¤u§@ªí¸ê®Æªº ¦C
¦hªí¤ñ¹ï§R°£.rar (1.9 KB)
¨C¤u§@ªí³£¦³´X¸Uµ§¸ê®Æ ÁÙ¬O¦³¨ä§ó¦n¤èªk ÁÂÁ¤j®a ·PÁ°Õ

¦^´_ 1# pinklee
  1. Sub ex()
  2. Dim Sh As Worksheet
  3. For Each Sh In Sheets
  4.   If Sh.Name <> "·Ç«h" Then
  5.   With Sh
  6.     .Range(.[C1], .[A65536].End(xlUp).Offset(, 2)).FormulaR1C1 = "=1/ISERROR(MATCH(RC[-2],·Ç«h!C[-2],0))"
  7.      a = .Range(.[C1], .[A65536].End(xlUp).Offset(, 2)).Address(, , , 1)
  8.     If Evaluate("SumProduct(IsError(" & a & ") * 1)") > 0 Then
  9.     .Range(.[C1], .[A65536].End(xlUp).Offset(, 2)).SpecialCells(xlCellTypeFormulas, 16).EntireRow.Delete
  10.     End If
  11.     .Columns("C").Clear
  12.   End With
  13. End If
  14. Next
  15. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 2# Hsieh


    ÁÂÁÂ ¯u¬O¤S§Ö¤S¦n :D

TOP

ÁÂÁ¤À¨É
¥¿»Ý­n¥Î¨ìªº»¡

TOP

«z¶ë¡A¤ÓÆg¤F¡A´N¤í³o¤@¨ý

TOP

¤Ó«Ó¤F
­È±o¦¬ÂóƥÎ
ÁÂÁª©¤j¤À¨É
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : ¤@¥y·Å·xªº¸Ü¡A´N¹³©¹§O¤H¨­¤WÅx­»¤ô¡A¦Û¤v·|ªg¨ì¨â¤Tºw¡C
ªð¦^¦Cªí ¤W¤@¥DÃD