- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2010-12-9 09:58 ½s¿è
¦^´_ 4# hugh0620
Selection.AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Sheet1.Range("A2"), Unique:=True
³o¸Ì§ï¬° A4 , A2 ªºÈ¬°1¤£¬O ¸ê®ÆªºÄæ¦ì©Ò¥H·|²£¥Í¿ù»~ ¦ý¦pA2 ªºÈ="" µ{¦¡·|¦Û°Ê²£¥Í,¸ê®ÆªºÄæ¦ì ¥i¸Õ¸Õ¬Ý
קï§Aªºµ{¦¡½X¦p¤U,¬O§_¬O§Aªºì·N.
Private Sub CommandButton1_Click()
Sheet2.Range("C4").CurrentRegion.AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Sheet1.Range("A1:A2"), CopyToRange:=Sheet1.Range("A4:H4"), Unique:=True
End Sub
PS: CriteriaRange:=Sheet1.Range("A1:A2"), ªºÀx¦s®æ¥i¥þ³¡¬°ªÅ¥Õ ,¦ý¤£¥i¦³¸ê®ÆªºÄæ¦ì¤¤§¨Âø¦³ªÅ¥ÕÀx¦s®æ¤Î¤£¬O¸ê®ÆªºÄæ¦ì |
|