Hello,
I have the codes below that loops through a column in rowfield in a pivot table and filters out everything but a given value that is provided through input box.
the codes took forever to run because the list is very long, is there a faster way of coding this?
thanks,PHP Code:
For Each PTItm In pvt.PivotFields("Address").PivotItems
If PTItm.Value = Building Then
PTItm.Visible = True
Else
PTItm.Visible = False
End If
Next PTItm
Lynn
Bookmarks