- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 4# bmw711208 - Sub TEST()
- Dim r As Long, c As Range
-
- Application.ScreenUpdating = False
- With ActiveSheet
- .UsedRange.AutoFilter Field:=8, Criteria1:="Z 11557" '¥ý¿z¿ï¡A´î¤Öloop¦¸¼Æ
- r = 1
- For Each c In .Range("H2:H" & .UsedRange.Rows.Count).SpecialCells(xlCellTypeVisible)
- c.Offset(0, 1).Value = Application.WorksheetFunction.CountIf(.Range("C" & r & ":C" & c.Row), "= ADD")
- r = c.Row
- Next c
- .[A1].AutoFilter
- End With
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X |
|