- ©«¤l
- 586
- ¥DÃD
- 123
- ºëµØ
- 0
- ¿n¤À
- 763
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOW7
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-16
- ³Ì«áµn¿ý
- 2017-3-14
|
[µo°Ý] ¦p¦ó¥u¬D¥X¿ï©wªº¸ê®ÆÄæ¦ì
§Ú·Qn°õ¦æµ{¦¡½X®É´N¥i¥HÂà´«¦¨§Únªº¸ê®ÆÄæ¦ì
¹ï©ó¼Ï¯Ã¤ÀªRªºvbaÁÙ¤£¤Ó¼ô
½Ð¤j®aÀ°¦£¬Ý¨Ì¤U
§Ú·Qn°õ¦æ®É¥u¥X²{¦p¥Ø«e¤u§@ªí®Éªº¼Ò¼Ë
¦ý¬O¨C°õ¦æ¤@¦¸³£·|¼W¥[¤@Äæ¸ê®Æ
¤£ª¾¹D¸ò§Úªº¸ê®Æ¬O¦Ûq¤½¦¡¦³¨S¦³Ãö«Y
©Î¬O³æ¯Âµ{¦¡½Xªº°ÝÃD?- Sub ´ú¸Õ()
- '
- '
- Dim pt As PivotTable
- Dim pf As PivotField
- Dim pi As PivotItem
-
- Application.ScreenUpdating = False
- Application.DisplayAlerts = False
- On Error Resume Next
- For Each pt In ActiveSheet.PivotTables
- pf.Orientation = xlHidden
- Next
- For Each pi In pt.DataFields
- pi.Orientation = xlHidden
- Next
- ActiveSheet.PivotTables("¼Ï¯Ã¤ÀªRªí1").PivotFields("Á`®É¼Æ").Orientation = xlDataField
- ActiveSheet.PivotTables("¼Ï¯Ã¤ÀªRªí1").AddFields RowFields:="³¡ªù", ColumnFields:= _
- Array("¦~«×", "¤ë¥÷")
- End Sub
½Æ»s¥N½X
¥[¯Z³æ©ú²Óªí-´ú¸Õ.rar (11.99 KB)
|
|