- ©«¤l
- 976
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 1018
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-4-19
- ³Ì«áµn¿ý
- 2024-10-30
|
¦^´_ 4# cowww
½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Private Sub Worksheet_Change(ByVal Target As Range)
'Updateby Extendoffice
Dim xRg As Range, Ar(), a, n%,xD
Set xD = CreateObject("Scripting.Dictionary")
n = 0
Application.ScreenUpdating = False
For Each xRg In Range("I6:I10000")
If xRg.Value = "" Then
xRg.EntireRow.Hidden = True
Else
xRg.EntireRow.Hidden = False
If xD.exists(xRg.Value) = False Then
xD(xRg.Value) = "": ReDim Preserve Ar(n)
Ar(n) = Application.CountIf(Columns("I"), xRg)
n = n + 1
End If
End If
Next
a = Join(Ar, ",")
Application.ScreenUpdating = True
MsgBox "§¹¦¨!" & a
End Sub |
|