Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to create a pivot tables using VBA with different number of rows of source data. How can I supply the number of rows as a parameter to the following method: ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatab ase, SourceData:="???" It seems it doesn't like me to supply a string variable to the SourceData, for example, SourceData:= strRange Any other method to get around? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I detail Pivot Table data without creating a table (Excel2007) | Excel Discussion (Misc queries) | |||
How can I detail Pivot Table data without creating a table (Excel2007) | Excel Discussion (Misc queries) | |||
creating a report from a table, pivot table not suitable | Excel Worksheet Functions | |||
creating a pivot table from 4 pivot tables | Excel Worksheet Functions | |||
Creating Pivot Table with VBA | Excel Programming |