Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think I am getting very lazy. I have been trying to make the Row Field
Ascending with the following generic macro but with no sucess. ActiveCell.PivotField.AutoSortField xlAscending What am I doing wrong? Thank you, Steven |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Turn on your macro recorder, double-click on an item on the row element of
your Pivot Table (or whatever you want to sort by), Advanced Ascending Ok Ok. Look at the code and edit as necessary. I believe that will give you what you want. Regards, Ryan--- -- RyGuy "Steven" wrote: I think I am getting very lazy. I have been trying to make the Row Field Ascending with the following generic macro but with no sucess. ActiveCell.PivotField.AutoSortField xlAscending What am I doing wrong? Thank you, Steven |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code for a Macro that allows a Pivot table to be repeatedly run (fora dynamic rows in a table, but static field names) | Excel Programming | |||
Pivot Table from Macro | Excel Discussion (Misc queries) | |||
Is it possible to Macro a Pivot Table? | Excel Worksheet Functions | |||
Macro for Pivot Table | Excel Programming | |||
Steps from Macro recorder for Pivot table will not run as a Macro | Excel Programming |