Would really appreciate some help on an issue I am facing especially being very new to macros. I have tried but not been successful in getting excel to ignore the error messages or correcting the code.
Any help would be gratefully appreciated, thanks 
Here goes:
I have a line chart which I created which shows data on one axis. I created a macro which when clicked by the user creates a secondary axis and shows this data on the chart as well. I also have another macro which resets the chart back to one axis and only displays data along that single axis.
It all works fine except if you click the macro button twice (either for it to show the secondary axis and data or if you click the reset button twice). I get the following error message:
Runtime Error '1004':
Unable to set the AxisGroup property of the Series class
Here's the VBA code (error code highlighted in bold):
Bookmarks