PC Review


Reply
Thread Tools Rate Thread

Classic PivotTable Layout

 
 
Kirk P.
Guest
Posts: n/a
 
      16th Sep 2008
I wish there was a default setting to force pivot tables to use the "classic"
layout, but failing that, I'm looking to create a macro that runs whenever a
pivot table is created. I've got this code that works, but only within the
current workbook. How do you get Excel to automatically recognize when a
pivot table is being created to change the layout to classic?

With ActiveSheet.PivotTables("PivotTable1")
.InGridDropZones = True
.RowAxisLayout xlTabularRow
End With
 
Reply With Quote
 
 
 
 
Jim Thomlinson
Guest
Posts: n/a
 
      16th Sep 2008
So you are looking for an event that fires when a pivot table is created.
That is a bit of a problem as there is no event specific to that. There is
one that fires on update that executes when a table is created. It however
also runs on each update. If you use that event it will change to Classic
look at each update which probably does not work for you but that is up to
you.

Here is a link to App level events...
http://www.cpearson.com/excel/AppEvent.aspx
--
HTH...

Jim Thomlinson


"Kirk P." wrote:

> I wish there was a default setting to force pivot tables to use the "classic"
> layout, but failing that, I'm looking to create a macro that runs whenever a
> pivot table is created. I've got this code that works, but only within the
> current workbook. How do you get Excel to automatically recognize when a
> pivot table is being created to change the layout to classic?
>
> With ActiveSheet.PivotTables("PivotTable1")
> .InGridDropZones = True
> .RowAxisLayout xlTabularRow
> End With

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
classic pivottable layout Dan Microsoft Excel New Users 5 1st Apr 2010 04:30 PM
PivotTable total columns are blank. Can I make report based on PivotTable query? Song Su Microsoft Access Reports 0 6th Apr 2008 03:10 AM
Default PivotTable Layout Mickey Microsoft Excel Worksheet Functions 0 18th Mar 2008 03:55 PM
Change Pivottable layout through VBScript =?Utf-8?B?U2FoaQ==?= Microsoft Excel Programming 1 13th Aug 2004 02:58 PM
Save the layout of PivotTable Francis Cheung Microsoft Excel Programming 1 13th Feb 2004 08:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:23 AM.