Hi guys,
I feel I am missing something glaringly obvious here, but how can I use VBA to automatically filter a pivot table based on text contained within values? For example, I would like use a macro to automatically filter the following dataset to contain only rows where Product *contains* either "IX", "MM" or "NX":
Product ValueA ValueB
VD:IX:L:MM: Text Text 623 187
VD:MM: Text Text 390 80
VD:IX: Text Text 1100 430
VD:NX: Text Text 1235 685
VD:SP:L:FV: Text Text 96 63
VD:KP:L:FV: Text Text 0 0
Note that in reality, the pivot has 20,000 rows and I will need to filter for maybe thirty different values within the product names...
Thanks very much for your help,
Graham
I feel I am missing something glaringly obvious here, but how can I use VBA to automatically filter a pivot table based on text contained within values? For example, I would like use a macro to automatically filter the following dataset to contain only rows where Product *contains* either "IX", "MM" or "NX":
Product ValueA ValueB
VD:IX:L:MM: Text Text 623 187
VD:MM: Text Text 390 80
VD:IX: Text Text 1100 430
VD:NX: Text Text 1235 685
VD:SP:L:FV: Text Text 96 63
VD:KP:L:FV: Text Text 0 0
Note that in reality, the pivot has 20,000 rows and I will need to filter for maybe thirty different values within the product names...
Thanks very much for your help,
Graham