Private Sub ComboBox1_Change()
If ComboBox1.ListCount = 0 Then Exit Sub
Application.ScreenUpdating = False
Worksheets("Sheet1").PivotTables(1).PageFields(1).CurrentPage = ComboBox1.Value
Application.ScreenUpdating = True
End Sub
Private Sub ComboBox1_DropButtonClick()
Static Disabled As Boolean
Dim PItem As PivotItem
Application.ScreenUpdating = False
If Disabled = False Then
ComboBox1.Clear
ComboBox1.AddItem "(All)"
For Each PItem In Worksheets("Sheet1").PivotTables(1).PageFields(1).PivotItems
ComboBox1.AddItem PItem.Name
Next PItem
Disabled = True
Else
Disabled = False
End If
Application.ScreenUpdating = True
End Sub
hsalortb said:Please tell me how can I obtain consulting services from your company in this kind of issues.