Obviously the newsreader inserted a line feed between "PlotBy" and ":=".
Does the code work when it's all on a single line? If your first posted
code worked, so should Tim's altered code.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______
Losse wrote:
That only gives me an error. It tells me "Object doesn't support this
property or method." I belive there needs to be an "_" after the PlotBy
as well.