Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default Pivot table - sorting

Hi,

I am trying to sort data in a pivot table with more than one column fields
(year 2008 and 2007)
When I use the following code, it sorts by Paid fare but for total 2007 and
2008.
How do I make VB sort the data by Paid fare in 2008 ? I cannot find it in
the VB help.

ActiveSheet.PivotTables("Second").PivotFields("Acc ount number").AutoSort
xlDescending, "Sum of Paid fare"

Thanks!
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
pivot table sorting pat67 Charts and Charting in Excel 6 January 6th 10 08:19 PM
pivot table sorting Patty Slowik Excel Discussion (Misc queries) 1 August 25th 09 03:21 PM
Sorting a Pivot Table cware Excel Worksheet Functions 2 August 26th 08 12:27 AM
Pivot Table Sorting Scott R Excel Worksheet Functions 1 November 8th 07 01:23 AM
Pivot Table Sorting Scott R Excel Worksheet Functions 6 November 8th 07 01:22 AM


All times are GMT +1. The time now is 05:37 AM.

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

About Us

"It's about Microsoft Excel"