Hi All,
Recently, I created a dashboard in Excel to visualize performances on several metrics. Using pivot tables, I have been able to easily combine, visualize and transpose data.
For this dashboard, I want to be able to type in a product name and click on a button (macro) to update all pivot tables (by update, I mean to filter values of the product of interest only).
Earlier attempts have not payed of yet:
---------------------------------------------
> Range("L1").Select
Selection.Copy
ActiveSheet.PivotTables("PIVOTTABLE1").PivotFields("LABEL1"). _
ClearAllFilters
ActiveSheet.PivotTables("PIVOTTABLE1").PivotFields("LABEL1").CurrentPage _
= "xlPasteValues"
> ActiveSheet.PivotTables("PIVOTTABLE1").PivotFields("LABEL1"). _
ClearAllFilters
ActiveSheet.PivotTables("PIVOTTABLE1").PivotFields("LABEL1").CurrentPage _
Range("L1")
> ActiveSheet.PivotTables("PIVOTTABLE1").PivotFields("LABEL1"). _
ClearAllFilters
ActiveSheet.PivotTables("PIVOTTABLE1").PivotFields("LABEL1").CurrentPage _
= Range("L1").Select
Selection.Copy
xlPasteValues
--------------------------------------------
Is there a way to build this? or is there an alternative route with similar output?
Many thanks in advance!
best
Tim
Bookmarks