First off, I have posted this question on mrexcel.com, but have not been able to get any responses (http://www.mrexcel.com/forum/showthread.php?t=581652).
I have a dashboard that I have created where the user can chart out different metrics over a period of time that they select. The metrics themselves could be in the millions, or a %. So, the code that I am trying to use will update the chart based on the selections and update the axis, as well as place certain metrics on the secondary axis if necessary.
Here is the code that I am using:
However, I am getting an error stating "Method 'Axes' of object '_Chart' failed" with this line highlighted:
However, I am not understanding why it isn't working. I have used this method in the past, and can't figure out why it is breaking at this point.
Any help is appreciated.
Bookmarks