farrusete
Member
Hi,
I'm just modifying a pivot table field from a dropdown list and all of my pivot tables work except one (Pivot_Devices) and they have just the same code:
With Worksheets("Dashboard").Shapes("months_unique").ControlFormat
Worksheets("Dashboard").Range("C2") = .List(.Value)
Worksheets("Dashboard_Inputs").PivotTables("Pivot_Summary").PivotFields("Month").CurrentPage = Worksheets("Dashboard").Range("C2").Value
Worksheets("Dashboard_Inputs").PivotTables("Pivot_Devices").PivotFields("Month").CurrentPage = Worksheets("Dashboard").Range("C2").Value
Worksheets("Dashboard_Inputs").PivotTables("Pivot_UU").PivotFields("Month").CurrentPage = Worksheets("Dashboard").Range("C2").Value
End With
Can you think about any clue that i could be missing?
Note: Both C2 and month field are "Text" fields and not dates.
Thank you in advance
I'm just modifying a pivot table field from a dropdown list and all of my pivot tables work except one (Pivot_Devices) and they have just the same code:
With Worksheets("Dashboard").Shapes("months_unique").ControlFormat
Worksheets("Dashboard").Range("C2") = .List(.Value)
Worksheets("Dashboard_Inputs").PivotTables("Pivot_Summary").PivotFields("Month").CurrentPage = Worksheets("Dashboard").Range("C2").Value
Worksheets("Dashboard_Inputs").PivotTables("Pivot_Devices").PivotFields("Month").CurrentPage = Worksheets("Dashboard").Range("C2").Value
Worksheets("Dashboard_Inputs").PivotTables("Pivot_UU").PivotFields("Month").CurrentPage = Worksheets("Dashboard").Range("C2").Value
End With
Can you think about any clue that i could be missing?
Note: Both C2 and month field are "Text" fields and not dates.
Thank you in advance