How to use VBA to display a Pivot Item- Aladin?
Posted by Andrew Corkery on May 29, 2001 9:25 AM
I have a problem when I want to change the value of a pivot table item that is the page field. The following code gives a 1004 error.
Sub Macro4()
ActiveSheet.PivotTables("WeeklyData-EndLastWeek").PivotFields("Date").CurrentPage = "30/04/2001"
End Sub
Can any one offer assistance?
Thank you.