Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hia!
Happy New Year Friends. I have spent almost 3 hours not but I am not able to spot the bug; The following codes create a Pivot Table but the table does not generate reports except for the field headings; Sub SalesReports() Dim pc As PivotCache Dim pt As PivotTable Set pc = ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatab ase, _ SourceData:=Range("b5:g39")) Set pt = ActiveSheet.PivotTables.Add(PivotCache:=pc, tabledestination:=Range("i5")) Application.GoTo Range("i5") End Sub What is the problem in the codes? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to create pivot table from existing pivot table in excel 2007 | Excel Discussion (Misc queries) | |||
Print Pivot Table headers on pages with Pivot Table | Excel Worksheet Functions | |||
Filter lines with Pivot table and non Pivot table columns | Excel Discussion (Misc queries) | |||
How do I create a pivot table if the pivot table icon or menu ite. | Charts and Charting in Excel | |||
Help required with setting up a pivot table with the source on sheet1 to have the pivot table created on sheet called "report" | Excel Programming |