mortgageman
Well-known Member
- Joined
- Jun 30, 2005
- Messages
- 2,015
In the following type of line, can the "source" be a VBA variable? In other words, if I calculate in VBA, can I go directly to the chart, or do I have to write to a range and then chart?
ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range("B1:C2"), PlotBy:= _
xlRows
Gene, "The Mortgage Man", Klein
ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range("B1:C2"), PlotBy:= _
xlRows
Gene, "The Mortgage Man", Klein