markdenovan
Board Regular
- Joined
- Dec 15, 2002
- Messages
- 97
We have an Excel sheet with a number of different pivot tables on it.
They look at the same data, and there are fields Month & Date
We have simple macro where you set the Month on the first pivot table and it copies the value to the other pivot tables.
ActiveSheet.PivotTables("PivotTable2").PivotFields("Month").CurrentPage = Cells(2, 2).Text
This works fine in Office 2000, but we have just installed Office 2007 and it won't work anymore?
Wierldy, it works on a couple by changing the end to .Value but on one field it jusy refuses to work.
I have checked and the value is def available.
Any ideas?
Many thanks,
Mark
They look at the same data, and there are fields Month & Date
We have simple macro where you set the Month on the first pivot table and it copies the value to the other pivot tables.
ActiveSheet.PivotTables("PivotTable2").PivotFields("Month").CurrentPage = Cells(2, 2).Text
This works fine in Office 2000, but we have just installed Office 2007 and it won't work anymore?
Wierldy, it works on a couple by changing the end to .Value but on one field it jusy refuses to work.
I have checked and the value is def available.
Any ideas?
Many thanks,
Mark