![]() |
Pivot Table VBA
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. |
Pivot Table VBA
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 |
All times are GMT +1. The time now is 01:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com