Thread
:
Graph not plotting correctly if source not selected
View Single Post
#
2
Posted to microsoft.public.excel.programming
Mike Middleton[_2_]
external usenet poster
Posts: 110
Graph not plotting correctly if source not selected
Frank -
Excel chart guru Jon Peltier has VBA code examples at
http://peltiertech.com/Excel/ChartsH...kChartVBA.html
- Mike
http://www.MikeMiddleton.com
"Frank" wrote in message
...
Here my code:
Set Cht_level = Charts.Add
With Cht_level
.ChartType = xlLine
.SetSourceData Source:=cht_src
End With
if fails.
But if I
add cht_src.Select
before the code, it works brilliantly?
Why?
Reply With Quote
Mike Middleton[_2_]
View Public Profile
Find all posts by Mike Middleton[_2_]