R
Roger Converse
There are a total of 4 columns that I am trying to pivot. When I step through
the macro, the pivot table is created except only one of the four field
fields is available in the field list. Therefore, when it goes to "drag" one
of the items that is not on the field list to the pivot table, it can't find
the field name.
I am guessing that somewhere in here, I need to specify the number of field
names or something, because it is after this step where the macro debugs.
ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
"tempPO_ExpSumm!C1:C4").CreatePivotTable TableDestination:="", TableName:= _
"PivotTable6", DefaultVersion:=xlPivotTableVersion10
ActiveSheet.PivotTableWizard TableDestination:=ActiveSheet.Cells(3, 1)
ActiveSheet.Cells(3, 1).Select
Any additional assistance would be greatly appreciated.
Thank you,
Roger
the macro, the pivot table is created except only one of the four field
fields is available in the field list. Therefore, when it goes to "drag" one
of the items that is not on the field list to the pivot table, it can't find
the field name.
I am guessing that somewhere in here, I need to specify the number of field
names or something, because it is after this step where the macro debugs.
ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
"tempPO_ExpSumm!C1:C4").CreatePivotTable TableDestination:="", TableName:= _
"PivotTable6", DefaultVersion:=xlPivotTableVersion10
ActiveSheet.PivotTableWizard TableDestination:=ActiveSheet.Cells(3, 1)
ActiveSheet.Cells(3, 1).Select
Any additional assistance would be greatly appreciated.
Thank you,
Roger