Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
with ActiveSheet.PivotTables("PivotTable").PivotFields( "sls_no")
.Orientation = xlRowField .Position = 1 I am trying to figure out what code should be used to drag from the field list into the pivot table. The code above does not work. Does anyone know the correct code? Thank you. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could turn on the macro recorder as you manually drag the field into
the pivot table. Then, use the code that was created. HELP wrote: with ActiveSheet.PivotTables("PivotTable").PivotFields( "sls_no") .Orientation = xlRowField .Position = 1 I am trying to figure out what code should be used to drag from the field list into the pivot table. The code above does not work. Does anyone know the correct code? Thank you. -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Top 5 plus Other in Pivot table | Excel Worksheet Functions | |||
Derived Columns in Pivot Table | Excel Discussion (Misc queries) | |||
Using a Pivot Table Calculated Field to get a Unique Count | Excel Worksheet Functions | |||
Pivot -- want to use Max and Sum in same table | Excel Worksheet Functions | |||
how to delete/clean out the row list in pivot table | Excel Worksheet Functions |