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

½Ð°Ý ¤j¤j

½Ð°Ý ¤j¤j

¥»©«³Ì«á¥Ñ GBKEE ©ó 2011-3-27 09:20 ½s¿è

¦p±z©Ò»¡ªº¿z¿ï

01.Sub Ex()

02.    Sheets("Sheet3").[A1].CurrentRegion = ""

03.    Sheets("¸ê®Æªí").Range("A1").CurrentRegion.AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Sheets("ªí®æ").[K1:L2], CopyToRange:=Sheets("Sheet3").[A1]

04.End Sub

¦pªG­n­×§ï¦¨
¦W¦r¬° ¸ê®Æ®w ªºEXCELÀɮ׸̭±ªº ¸ê®Æªí ¤u§@ªí ¿z¿ïµ²ªG¨ì ¦W¦r¬° µ²ªG ªº EXCELÀɮ׸̭±ªº¿z¿ï«á ¤u§@ªí
­n«ç»ò­×§ï©O
¸É¥R¤@¤U ÀÉ®×¥þ³£©ñ¦bF: ¼Ñ¸Ì­±
³Â·Ð GBKEE ¤j¤j¤F

RE: ½Ð°Ý

¦^´_ 1# gn00487767
¦³Ãövbaªº°ÝÃD¨ì ½Ð¨ì[Excelµ{¦¡°Ï]µo°Ý
   
  1. Sub Ex()
  2.     Dim Sh(1 To 2) As Worksheet
  3.     Set Sh(1) = Workbooks("¸ê®Æ®w").Sheets("¸ê®Æªí")
  4.     Set Sh(2) = Workbooks("µ²ªG").Sheets("¿z¿ï«á")
  5.     Sh(1).Range("A1").CurrentRegion.AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Sh(1).[K1:L2], CopyToRange:=Sh(2).[A1]
  6. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ·R¤£¬O­n¨D¹ï¤è¡A¦Ó¬O­n¥Ñ¦Û¨­ªº¥I¥X¡C
ªð¦^¦Cªí ¤W¤@¥DÃD