Hi,
This is my first time. I have been looking everywhere for a solution for this
I have made a pivot table on Sheet4 and named the Pivot table to Overtime.
But when I refresh manually by right click the newly made pivot table stops and shows an error
------------------
Run-time Error '1004':
Unable to get the PivotTables property of the Worksheet Class
------------------
When I click Debug the error goes to my sheet3 Not in sheet4 and points to this different Pivot table I made previously
Sub RefreshCustomPivotTable2()
Application.DisplayAlerts = False
With ActiveSheet
.PivotTables("WBS_Pivot").RefreshTable <- this one has the error pointed at
End With
End Sub
Its not the pivot table I refreshed, and not even at the same sheet.
Can anybody help me on this issue. I am using Excel 2013 by the way.
Lots of thanks guys
This is my first time. I have been looking everywhere for a solution for this
I have made a pivot table on Sheet4 and named the Pivot table to Overtime.
But when I refresh manually by right click the newly made pivot table stops and shows an error
------------------
Run-time Error '1004':
Unable to get the PivotTables property of the Worksheet Class
------------------
When I click Debug the error goes to my sheet3 Not in sheet4 and points to this different Pivot table I made previously
Sub RefreshCustomPivotTable2()
Application.DisplayAlerts = False
With ActiveSheet
.PivotTables("WBS_Pivot").RefreshTable <- this one has the error pointed at
End With
End Sub
Its not the pivot table I refreshed, and not even at the same sheet.
Can anybody help me on this issue. I am using Excel 2013 by the way.
Lots of thanks guys