Hi,
I',m very new of EXCEL VBA programs, one of the pivot table able to run with out error.
but other getting error when i run it
below codes are automatically created by excel macro recorder.
if you help me out this situation, i really appriciated
Sub Macro11()'
' Macro11 Macro
'
'
ActiveWorkbook.Worksheets("LCG-JKX").PivotTables("ThickCheckIn").PivotCache. _
CreatePivotTable TableDestination:="LCG-JKX!R17C64", TableName:= _
"PivotTable9", DefaultVersion:=xlPivotTableVersion15
Sheets("LCG-JKX").Select
CellS(17, 64).Select
ActiveWorkbook.ShowPivotTableFieldList = True
With ActiveSheet.PivotTables("PivotTable9")
.PivotFields("Thick(mm)").Orientation = xlRowField
.PivotFields("matTypeC").Orientation = xlPageField
End With
ActiveSheet.PivotTables("PivotTable9").ColumnGrand = False
Range("BL17").Select
ActiveSheet.PivotTables("PivotTable9").PivotSelect "", xlDataAndLabel, True
Selection.ClearContents
Range("BH18").Select
End Sub