On 2002-12-09 23:12, Juan Pablo G. wrote:
Yes, you can do this using the _Change() event of the worksheet. Have you used macros ?
Private Sub Worksheet_Calculate()
Dim PF1 As PivotField
Dim PF2 As PivotField
Dim x As String
Application.EnableEvents = False
Application.ScreenUpdating = False
Set PF1 = ActiveSheet.PivotTables("PivotTable1").PageFields(1)
Set PF2 = ActiveSheet.PivotTables("PivotTable2").PageFields(1)
x = PF1.CurrentPage
PF2.CurrentPage = x
Application.ScreenUpdating = True
Application.EnableEvents = True
End Sub
Private Sub Worksheet_Calculate()
Dim PF1 As PivotFields
Dim PF2 As PivotFields
Dim PF3 As PivotFields
Dim X As String
Application.EnableEvents = False
Application.ScreenUpdating = False
Set PF1 = ActiveSheet.PivotTables("PivotTable3").PageFields
Set PF2 = ActiveSheet.PivotTables("PivotTable1").PageFields
Set PF3 = ActiveSheet.PivotTables("PivotTable4").PageFields
X = PF1.CurrentPage
PF2.CurrentPage = X
PF3.CurrentPage = X
Application.ScreenUpdating = True
Application.EnableEvents = True
End Sub