Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 1004

Status
Not open for further replies.

vba317

Programmer
Mar 5, 2009
708
US
I am getting this error 1004. The error is highlighted in blue. I am not sure why I am getting this error. Any help is appreciated.
Tom

Code:
With goXL.ActiveSheet
    .Range("B9").Select
[blue]    .PivotTables("PivotTable1").PivotCache.Refresh [/blue]
End With
 
try this...
Code:
With goXL.ActiveSheet
    .Range("B9").Select
    .PivotTables(1).PivotCache.Refresh 
End With

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top