• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Classic Pivot View

balaji3081

Member
Hi Guys,

Here is a macro to for getting to the classic view on pivot via a shortcut(Ctrl+r). however the macro has made the pivot very specific to Pivot table 8 , I want it to work for any pivot.

Sub Classic_Pivot()
'
' Classic_Pivot Macro
' to convert to classic view
'
' Keyboard Shortcut: Ctrl+r
'
With ActiveSheet.PivotTables("PivotTable8")
.InGridDropZones = True
.RowAxisLayout xlTabularRow
End With
End Sub
 
How about this?
Code:
Sub Classic_Pivot()
Dim pt As PivotTable
For Each pt In ActiveSheet.PivotTables
    pt.InGridDropZones = True
    pt.RowAxisLayout xlTabularRow
Next pt
End Sub
 
works like a charm, thanks

I am looking for a pack of simple macros to save on my excel personnel workbook, is there any source I can get it.
Will make my like easier.

Regards,
Bala
 
Hi Luke, The macros work fine but started facing a funny issue, i save the macro on Personnel XLSB,and I have also linked it to a icon in my customised ribbons, but when I close excel fully and open it again, there are no macros in Personnel.xlsb, and neither do the icons work.

Am I missing on something......!!!!
 
Back
Top