- ©«¤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
|
¦^´_ 24# hugh0620
§Ñ°O Åã¥ÜÅã¥Ü¥þ³¡¸ê®Æ
- Sub Ex()
- With ActiveSheet
- If .AutoFilter Is Nothing Then
- .Rows(6).AutoFilter
- Else
- .Cells.AutoFilter
- .Rows(6).AutoFilter
- End If
- With .Rows(6)
- '''''''''''''''''''''' ½Ð¦Û¦æ קï§PÂ_¦¡
- If ActiveSheet.[a1] = 1 Then '±ø¥ó¤@ FÄæµ¥©óX ¥B CL¥Bµ¥©ó1
- .AutoFilter 6, "=X"
- ElseIf ActiveSheet.[a1] = 2 Then '±ø¥ó¤G OÄdµ¥©ó0 ¥B CLµ¥©ó1´Nn
- .AutoFilter 15, "=0"
- End If
- If ActiveSheet.[a1] = 1 Or ActiveSheet.[a1] = 2 Then ''''''' ½Ð¦Û¦æ קï§PÂ_¦¡
- .AutoFilter 90, "=1"
- .CurrentRegion.Offset(1).EntireRow.Delete
- End If
- '''''''''''''''''''''''''''''''''''''''
- End With
- .Cells.AutoFilter '¨ú®ø¦Û°Ê¿z¿ï Åã¥ÜÅã¥Ü¥þ³¡¸ê®Æ
- End With
- End Sub
½Æ»s¥N½X |
|