ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pivot Tables in Macros (https://www.excelbanter.com/excel-programming/358910-pivot-tables-macros.html)

Skytree01

Pivot Tables in Macros
 

I'm having trouble adding more than one data field to a pivot table.
I've tried messing around with:
With Pt
.PivotFields(strField9).Orientation = xlDataField
.PivotFields(strField10).Orientation = xlDataField
End With

and doing it in seperate With statements and as an array, but nothin
seems to work

--
Skytree0
-----------------------------------------------------------------------
Skytree01's Profile: http://www.excelforum.com/member.php...fo&userid=3350
View this thread: http://www.excelforum.com/showthread.php?threadid=53299



All times are GMT +1. The time now is 11:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com