F
Fred Smith
I have a macro which should create three pivot tables from the same source
data. I can manually create all three sans problem. However, when I execute
the code, I get the first two tables, but on the third table, Excel stops
with error 1004 on the following statement:
Set PT = PTCache.CreatePivotTable(TableDestination:="", _
TableName:="AssetLevels")
This is exactly the same statement which starts off the creation of the
second table (other than changing the TableName).
I'm using XL2002, but I need it to work in XL2000 as well.
What am I doing wrong?
data. I can manually create all three sans problem. However, when I execute
the code, I get the first two tables, but on the third table, Excel stops
with error 1004 on the following statement:
Set PT = PTCache.CreatePivotTable(TableDestination:="", _
TableName:="AssetLevels")
This is exactly the same statement which starts off the creation of the
second table (other than changing the TableName).
I'm using XL2002, but I need it to work in XL2000 as well.
What am I doing wrong?