Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
When I run my VBA, there was a message: "Run-Time Error '1004': The pivotTable field name is not valid. To create a pivottable report, you must use data that is organized as a list with labeled columns. If you are changing the name of a pivottable field, you must type a new name for the field." It occurred when running: Set PTCache = ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatab ase, _ SourceData:=PRange.Address) Set PT = PTCache.CreatePivotTable(TableDestination:=shhet1. Range ("A1"), _ TableName:="PovitTable1") Any help is appreciated Fei |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I correct a "run time error 1004-unable to open" problem? | Excel Programming | |||
"run-time error '1004' - select method of range failed" | Excel Programming | |||
Run-time error "1004" Select method of range class failed | Excel Discussion (Misc queries) | |||
Run time error 1004: "No list was found.." | Excel Programming | |||
"Run-time error '1004'" Method 'Range' of object '_global' failed. | Excel Programming |