J
Jon Peltier
It's always something stupid, isn't it. But there's a fix for this.
Whenever a sheet name has a special character (i.e., one that can cause
trouble), you can surround the sheet name with single quotes:
ActiveChart.SeriesCollection(1).Values = _
"='" & sSheet & "'!R2C8:R1000C8"
See if this helps. In fact, it never hurts to use the single quotes,
because Excel ignores them if they are not needed.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______
Whenever a sheet name has a special character (i.e., one that can cause
trouble), you can surround the sheet name with single quotes:
ActiveChart.SeriesCollection(1).Values = _
"='" & sSheet & "'!R2C8:R1000C8"
See if this helps. In fact, it never hurts to use the single quotes,
because Excel ignores them if they are not needed.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______