Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am doing an assignment for school and have run into some problems. Firstly we have to write a macro to filter data from a spreadsheet. Then according to the data make a pivot table. The code generated by recording a macro works if the number of rows are the same but because of the filter function this is not the case. I am wondering if someone could help be change or access the rows through programming. The code is currently: ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatab ase, SourceData:= _ "Temp!R1C1:R262C13").CreatePivotTable TableDestination:=Range("A264"), _ TableName:="PivotTable2" and it is the Sorcedata:="Temp!R1C1:R262:C13" that is causing the headaches 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 | |||
Copying values from pivot table to cells outside pivot table | 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 |