- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 257
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-27
|
¦^´_ 5# yiwei0707
n¥h¤F¸Ñµ{¦¡¤º®e¡A¥[¥H¹B¥Î- Sub ex()
- Dim PT As PivotTable, A As Range
- Set d = CreateObject("Scripting.Dictionary")
- Set PT = ActiveSheet.PivotTables(1)
- With PT
- For i = 1 To .RowFields.Count
- n = .RowFields(i).Name
- .PivotSelect n, 1
- Set A = Selection
- For Each c In A.SpecialCells(xlCellTypeConstants)
- d(c.Value) = ""
- Next
- MsgBox Join(d.keys, ";")
- d.RemoveAll
- Next
- End With
- End Sub
½Æ»s¥N½X
|
|