Colin Mannion
Member
Hi
I am pulling together some charts where the data plotted is based on a user-selected series of inputs taken from a validation table. There are six potential rows where a user can add a retailer - see data sheet attached. The problem is that if any of the lines are left blank then a series is indicated in the legend with a zero against it. What I would like to do is to have a macro which removes any data series which has a zero from the legend, but then has a reverse macro which will add the data series legend back in for the next time they want to use all six rows for selecting data.
Hope this makes sense. Full sample data attached.
I am using Excel 2010.
Thanks in advance.
Colin
I am pulling together some charts where the data plotted is based on a user-selected series of inputs taken from a validation table. There are six potential rows where a user can add a retailer - see data sheet attached. The problem is that if any of the lines are left blank then a series is indicated in the legend with a zero against it. What I would like to do is to have a macro which removes any data series which has a zero from the legend, but then has a reverse macro which will add the data series legend back in for the next time they want to use all six rows for selecting data.
Hope this makes sense. Full sample data attached.
I am using Excel 2010.
Thanks in advance.
Colin