| §Ú·Qn¦A®w§O¨º¤@Äæ¤¤´M§ä¥]§tB,C,D,Eµ¥¦r²´ªºµM«á¦A«~½è¨º¤@Äæ¿é¤J¹ïÀ³ªºB,C,D,E ¬O¤F´X¦¸³£¨S¿ìªk¦¨¥\
 ½Ð°Ý¤U±n¦p¦ó×§ï?
 ½Æ»s¥N½XSub «~½è_«á¨Óªº()
n = Range("AG65536").End(xlUp).Offset(1).Row
x = Range("A65536").End(xlUp).Row
w = Array("*B*", "*C*", "*D*", "*E*")
y = Array("B", "C", "D", "E")
Selection.AutoFilter Field:=33, Criteria1:="="
For i = LBound(w) To UBound(w)
Selection.AutoFilter Field:=14, Criteria1:="=w(i)"
Range(Cells(n, "AG"), Cells(x, "AG")).SpecialCells(xlCellTypeVisible) = "" & y(i) & ""
Next
Selection.AutoFilter Field:=14
Range(Cells(n, "AG"), Cells(x, "AG")).SpecialCells(xlCellTypeVisible) = "A"
Selection.AutoFilter Field:=33
End Sub
½Æ»s¥N½XSub «~½è_ì¥ýªº()
n = Range("AG65536").End(xlUp).Offset(1).Row
x = Range("A65536").End(xlUp).Row
w= Array("B", "C", "D", "E")
Selection.AutoFilter Field:=33, Criteria1:="="
For i = LBound(w) To UBound(w)
Selection.AutoFilter Field:=14, Criteria1:="="* "& w(i) &""
Range(Cells(n, "AG"), Cells(x, "AG")).SpecialCells(xlCellTypeVisible) = "" & w(i) & ""
Next
Selection.AutoFilter Field:=14
Range(Cells(n, "AG"), Cells(x, "AG")).SpecialCells(xlCellTypeVisible) = "A"
Selection.AutoFilter Field:=33
End Sub
 ¦Û°Ê¿z¿ï°}¦C.rar (19.65 KB) |