- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-23
|
- Dim FilArea As Range
- Sub ¹O´Á¼Æ()
- Dim R&, xClmn As Range, i&, LG, GG, N%
- Call ¨ú®ø¿z¿ï
- Set xClmn = FilArea.Columns(103)
- R = Application.CountIf(xClmn, ">0")
- If R = 0 Then Exit Sub
- Sheets("¤u§@§¹¦¨²v²Îp").AutoFilterMode = False
- For i = 1 To R
- LG = Application.Large(xClmn, i)
- If GG <> LG Then N = N + 1: GG = LG
- If N = 5 Then Exit For
- Next
- FilArea.AutoFilter Field:=103, Criteria1:=">=" & GG
- End Sub
- Sub §C©ó90()
- Call ¨ú®ø¿z¿ï
- Sheets("¤u§@§¹¦¨²v²Îp").AutoFilterMode = False
- FilArea.AutoFilter Field:=104, Criteria1:="<90%"
- End Sub
- Sub §@·~¤Ñ¼Æ()
- Dim R&, xClmn As Range, i&, LG, GG, N%
- Call ¨ú®ø¿z¿ï
- Set xClmn = FilArea.Columns(105)
- R = Application.Count(xClmn)
- If R = 0 Then Exit Sub
- Sheets("¤u§@§¹¦¨²v²Îp").AutoFilterMode = False
- For i = 1 To R
- LG = Application.Large(xClmn, i)
- If GG <> LG Then N = N + 1: GG = LG
- If N = 5 Then Exit For
- Next
- FilArea.AutoFilter Field:=105, Criteria1:=">=" & GG
- End Sub
- Sub ¨ú®ø¿z¿ï()
- Dim R&
- With Sheets("¤u§@§¹¦¨²v²Îp")
- .AutoFilterMode = False
- R = .UsedRange.Rows.Count - 1
- If R <= 4 Then Exit Sub
- Set FilArea = .Range("B3:DB" & R)
- FilArea.AutoFilter
- End With
- End Sub
½Æ»s¥N½X [attach]26115[/attach] |
|