RawlinsCross
Active Member
- Joined
- Sep 9, 2016
- Messages
- 437
I have 15 series of data plotted against time on the x-axis. Some of the 15 columns contain numeric data and some contain #N/A. I have a macro that plots all 15.
If 13 of the columns contain #N/A ofcourse no data is plotted and only 2 of the columns that contain numeric data are plotted. But my problem is that the legend entries of all 15 columns show up even though only two series are plotted.
How can I write code that goes through my legend and removes those that correspond with #N/A columns?
If 13 of the columns contain #N/A ofcourse no data is plotted and only 2 of the columns that contain numeric data are plotted. But my problem is that the legend entries of all 15 columns show up even though only two series are plotted.
How can I write code that goes through my legend and removes those that correspond with #N/A columns?