I want to change the min and max y-axis values on a chart depending on the values in two cells on another worksheet. The code below is in the worksheet code module for the tab called "Dashboard(RR)" and first it checks to see if cell J3 has been changed (options from a drop-down menu) and if True then change the values on corresponding chart "RR_chart_2":
When I run this however I get the error "Runtime error '438' object doesn't support this property". I've used the macro recorder to change the axis min / max values manually and the code looks similar, but obviously I'm doing something wrong. I would guess it's a scope / object reference problem but can't figure out what's wrong. Anyone got any ideas???
Thanks :-)
Bookmarks