Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default changing pivot table views with a macro

I want to create a macro that lets you change the arrangement of a pivot
table. Need to know where to begin.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default changing pivot table views with a macro

Turn on the macro recorder and make the changes to the pivot table manually.
Turn off the macro recorder and look at the recorded code. This should be
where to begin.

Some more information may be found at Debra Dalgleish's site

http://www.contextures.com/tiptech.html

Look under P

--
Regards,
Tom Ogilvy


"Baileys Cigs" <Baileys wrote in message
...
I want to create a macro that lets you change the arrangement of a pivot
table. Need to know where to begin.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default changing pivot table views with a macro

I have the same problem
This example is verry important to my but it do not work in Excel 2003 wiht
a OLAP data.
http://www.contextures.com/xlPivot03.html#ShowSpec97

the error is:
Can not get the property PivotFields of the class PivotTable in the line

Set pf = pt.PivotFields(strPF)


other erro in the line: "pi.Visible = True"
is: "Can not asign the property visible of the class PivotItem"


Thank you for your help


"Tom Ogilvy" wrote in message
...
Turn on the macro recorder and make the changes to the pivot table

manually.
Turn off the macro recorder and look at the recorded code. This should be
where to begin.

Some more information may be found at Debra Dalgleish's site

http://www.contextures.com/tiptech.html

Look under P

--
Regards,
Tom Ogilvy


"Baileys Cigs" <Baileys wrote in message
...
I want to create a macro that lets you change the arrangement of a pivot
table. Need to know where to begin.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving Pivot Table views Six Strings Excel Discussion (Misc queries) 0 May 29th 08 02:10 PM
Custom Views in Pivot Table Samad Excel Discussion (Misc queries) 1 January 13th 05 01:14 AM
Can I set my custom views on Pivot table Samad Excel Discussion (Misc queries) 0 January 10th 05 02:30 PM
Changing field in Pivot Table with macro hans Excel Programming 0 June 23rd 04 09:17 AM
macro, pivot table and changing number of rows Ali[_3_] Excel Programming 1 May 14th 04 04:15 PM


All times are GMT +1. The time now is 02:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"