Sorry for the delay, and thanks for your previous help Shg. I tried my best to strip away any code that was unnecessary and unrelated. Then I realized you can't upload .xls files so I started stripping it down even further so i could send it as a word document that would work with the smallest input possible. In the process I stumbled on the problem. It was one of the variables. Thanks for the advice about declaring all variables etc. that definitely was part of the solution. But alas I am now stuck at a new hurdle though i feel it is much simpler.
The Sub makeGraph now works properly
The sub is called w/ arguments sucha s this
the problem arises when i try to call it a second time right after the first, so as to add a new graph
I get :
Run-time error "1004"
that name is not valid
refering to the activeworkbook line that worked the first time round. The name has only changed by one letter. i don't get it.
Any insight as to wat is going on
Thanks
Bookmarks