PaulF
Active Member
Hello ALL!
I have a simple need that I can't figure out
I have a created a DashBoard (Below) and everything you see is working perfectly based on listbox (queue) selection.
I want to add a feature to show the top 10 sub ticket type based on the queue selection. I am using a piviot table to get the top 10 based on a help field triggered off the ListBox selection... I just need it to update when I change the selection...
ListBox1 on Sheet INF-DSK YTD Summary << When a Work Queue is selected I have a nested If(AND function on a data sheet that updated a helper field to a 1 or a 0
PiviotTable1 on Sheet Piviots << Filvers Top 10 based on that helper field in the data table
When I make a new selection in ListBox1 I would like the PiviotTable to refresh.
I am right clicking on the ListBox`1 sheet and entering the following code:
Private Sub ListBox1_Click()
Sheets("Pivots").PivotTables(1).RefreshTable
End Sub
Please not that I am brand new on the VBA side...
Thank you for any assistance you can provide.
Respectfully,
Paul F
I have a simple need that I can't figure out
I want to add a feature to show the top 10 sub ticket type based on the queue selection. I am using a piviot table to get the top 10 based on a help field triggered off the ListBox selection... I just need it to update when I change the selection...
ListBox1 on Sheet INF-DSK YTD Summary << When a Work Queue is selected I have a nested If(AND function on a data sheet that updated a helper field to a 1 or a 0
PiviotTable1 on Sheet Piviots << Filvers Top 10 based on that helper field in the data table
When I make a new selection in ListBox1 I would like the PiviotTable to refresh.
I am right clicking on the ListBox`1 sheet and entering the following code:
Private Sub ListBox1_Click()
Sheets("Pivots").PivotTables(1).RefreshTable
End Sub
Please not that I am brand new on the VBA side...
Thank you for any assistance you can provide.
Respectfully,
Paul F