- ©«¤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
        
|
¦^´_ 1# lifedidi - Option Explicit
- Private Sub CommandButton1_Click()
- Application.ScreenUpdating = False
- With Sheets("sheet1")
- .AutoFilterMode = False
- With .Range("B:U")
- .AutoFilter 3, ComboBox1 '¦Û°Ê¿z¿ï ²Ä3Äæ ·Ç«h=ComboBox1
- .Copy
- End With
- With Workbooks.Add(1)
- .Sheets(1).Paste
- .SaveAs ThisWorkbook.Path & "\" & ComboBox1
- .Close
- End With
- .Range("B2:U" & .Cells(.Rows.Count, "b").End(xlUp).Row).Delete xlUp '§R±¼ ¦Û°Ê¿z¿ï¥X¨Óªº¸ê®Æ
- .AutoFilterMode = False
- End With
- Unload Me
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X |
|