Could anyone tell me under which circumstances the following will not work?
I have the line in a module that draws a couple of charts, moving the chart to the "Graphs" worksheet when drawn.
If I just have 2 worksheets, then it works fine - with more then it moves the chart to the last worksheet created, and the next bit of code fails because the chart isn't where it should be...
thanks
Phil
Code:
ObjExChart.Location xlLocationAsObject, "Graphs"
I have the line in a module that draws a couple of charts, moving the chart to the "Graphs" worksheet when drawn.
If I just have 2 worksheets, then it works fine - with more then it moves the chart to the last worksheet created, and the next bit of code fails because the chart isn't where it should be...
thanks
Phil