Good day,
Using Excel 2007, I've successfully created the code needed to custom sort a pivot table when a particular field is selected as the first item in rows. Since this report will have multiple users, I've also coded to add the required custom list.
My problem...
The code calls the custom list via its position in the overall group of custom lists. Example: OrderCustom:=6. Since the report will have multiple users, the required list could be in any position.
Is there an alternative way of identifying which custom list to use?
Thank you!
Using Excel 2007, I've successfully created the code needed to custom sort a pivot table when a particular field is selected as the first item in rows. Since this report will have multiple users, I've also coded to add the required custom list.
My problem...
The code calls the custom list via its position in the overall group of custom lists. Example: OrderCustom:=6. Since the report will have multiple users, the required list could be in any position.
Is there an alternative way of identifying which custom list to use?
Thank you!