Using Classic PivotTable Layout as the Default

by Allen Wyatt
(last updated December 24, 2015)


Nancy creates a lot of PivotTables and likes the old layout better than the default set up in Excel 2010. Every time she creates a PivotTable she has to go to Options | Display | Classic PivotTable Layout. Nancy wonders if there is a way she can make the classic display the default.

There is no way to set this default, but it is possible to make the process a bit less painful. I created a PivotTable and left it empty, with nothing defined in the various sections of the PivotTable. With the PivotTable sheet visible, I turned on the macro recorder and recorded just the steps that Nancy mentioned, above. Here's what was recorded:

Sub Macro1()
' Macro1 Macro

    With ActiveSheet.PivotTables("PivotTable1")
        .InGridDropZones = True
        .RowAxisLayout xlTabularRow
    End With
End Sub

As you can see, there isn't much (programmatically) to changing back to classic layout—all you need to do is issue two statements that affect the PivotTable. This macro can be improved just a bit, however, by making it more "universal."

Sub PivotTableClassic()
    Dim pt As PivotTable

    For Each pt In ActiveSheet.PivotTables
        pt.InGridDropZones = True
        pt.RowAxisLayout xlTabularRow
    Next pt
End Sub

This version of the macro steps through each of the PivotTables on the current worksheet (if any) and applies those two statements that set them to classic layout.

The best idea we've been able to come up with is to assign this macro to the Quick Access Toolbar or to a shortcut key. Immediately after creating the macro, you can click the QAT button or press the shortcut key and Excel makes all the PivotTables on the sheet classic.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3576) applies to Microsoft Excel 2007, 2010, and 2013.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...


Quickly Duplicating Drawing Objects

Excel provides a couple of different ways that you can quickly duplicate drawing objects in a worksheet. Committing these ...

Discover More

Searching Comments

Need to find that misplaced comment in your worksheet? It's easy to do using the Find and Replace capabilities of Excel.

Discover More

Controlling Display of the Formula Bar

The formula bar is where you can see exactly what is stored in a spreadsheet cell. If you would rather hide the formula ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Displaying a PivotTable's Name in the PivotTable

When you create a PivotTable, it can have a name. You may want this name to appear within the PivotTable itself. There is ...

Discover More

Weighted Averages in a PivotTable

PivotTables are used to boil down huge data sets into something you can more easily understand. They are very good simple ...

Discover More

Excluding Zero Values from a PivotTable

If you are using a data set that includes a number of zero values, you may not want those values to appear in a ...

Discover More

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five more than 3?

2017-02-04 06:39:36


Thank for this tip and it saved my time

2016-05-16 07:46:11


Hi Matt,

You're the best! Thank you!


2016-04-06 11:47:52


I am so glad I found this post in my Google Search. This "problem" has been annoying me for the better part of a year, and now I have a Quick Access Toolbar button to quickly make the switch. Much appreciated!

Thanks, Allen!!


2015-12-24 11:14:42

Nancy Harpe

Great Tip for no Macros needed!!!I wish I had checked this out 2 years ago! I added these to my ribbon "do not show subtotals" and "show in tabular format". This is a great time saver! I must do 20+ pivot tables a week. Thanks!

2015-06-08 15:54:39


I love this! This will save me a lot time each week. Especially monthly for reports.

2015-04-22 01:14:23


Thanks Matt, that was helpful

2015-02-05 04:19:45


Many thanks for this and to Demetria - what a time saver !!! :)

Cheers, Stu

2014-09-26 13:37:30


Why change it after the fact? Create it directly as a classic pivot. From your source data, click Ctrl-P to run this macro. (You'll have to set up the shortcut, of course. You do that from the macro options).

Sub CreateClasicPivot()
' CreateClasicPivot Macro
' Keyboard Shortcut: Ctrl+Shift+P

ActiveCell.CurrentRegion.Name = "myrange"
Application.CutCopyMode = False
ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
"myrange").CreatePivotTable TableDestination:="", TableName:= _
ActiveSheet.PivotTableWizard TableDestination:=ActiveSheet.Cells(3, 1)
ActiveSheet.Cells(3, 1).Select
ActiveSheet.PivotTables("PivotTable1").SmallGrid = False

End Sub

2014-09-14 15:15:27



we are not able to view the "Pivots" in Excel 2007..

When we open the file we cant see the pivots... again we have to put the pivot tables and modify... the file...

Note: This is happening in only 2 in once file.


2014-03-25 17:31:44


Allen, I realize this is an old post, so not sure if you will get this, but THANK YOU THANK YOU THANK YOU for the macro. Was about to go crazy with this.

2013-06-10 08:13:35

Rudra Sharma

@Matt druce
if you have macro you can change for each Pivot table in the workbook with single click.

2013-06-10 04:15:09

Matt Druce

You don't need a macro for switching to the classic layout, just use the two shortcut icons that you can add to your ribbon..."do not show subtotals" and "show in tabular format"

Build your pivot table, then two clicks and its done!

2013-06-08 05:24:55


i found out that formatting sheet.provides.3 or w icons.with.layouts attached,and 1 of them is s
Classic display plus next to the se icons.are.icons to switch.totals,subtotals,etc what i normalny the right,soon after.changing it saves.a.few clicks quite.well.just need to get

This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.