Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot create
Can anyone help me figure out why this line of code does not work?
ActiveWorkbook.PivotTableWizard SourceType:=xlDatabase, SourceData:=Sheets("BDData").UsedRange, tabledestination:=Sheets("BD").Cells(1, 5), tablename:="BDPivot" Jesse |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pivot create
Jesse wrote:
Can anyone help me figure out why this line of code does not work? ActiveWorkbook.PivotTableWizard SourceType:=xlDatabase, SourceData:=Sheets("BDData").UsedRange, tabledestination:=Sheets("BD").Cells(1, 5), tablename:="BDPivot" PivotTableWizard is a method of a worksheet, not a workbook. So try Sheets("BD").PivotTableWizard SourceType:=xlDatabase, SourceData:=Sheets("BDData").UsedRange, tabledestination:=Sheets("BD").Cells(1, 5), tablename:="BDPivot" Bill Manville MVP - Microsoft Excel, Oxford, England No email replies please - reply in newsgroup |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to create pivot table from existing pivot table in excel 2007 | Excel Discussion (Misc queries) | |||
can I create pivot table from two other pivot tables? | Excel Discussion (Misc queries) | |||
How I can create a Pivot table by selecting two Different Pivot | Excel Worksheet Functions | |||
HOw to create a pivot of pivot tables | Excel Worksheet Functions | |||
How do I create multiple pivot charts from one pivot table? | Charts and Charting in Excel |