Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have created a macro which produces a graph. It calls a macro which
selects the cells i need, and then creates the graph. How can i make the line ActiveChart.SetSourceData Source:=Sheets("GraphTemp").Range("A1:B8"), PlotBy:= _ xlColumns Read ActiveChart.SetSourceData Source:=Sheets("GraphTemp").Range(Selection), PlotBy:= _ xlColumns So that the graph is created using the current selection rather than a set range of cells. Thanks in advance. -- Cheers, Ben Remove your.tonsils to reply "You only live once but if you do it right once is enough!" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro with line graph | Excel Discussion (Misc queries) | |||
Graph Re-size Macro | Excel Discussion (Misc queries) | |||
Macro Scatter Graph Plot | Charts and Charting in Excel | |||
Create a Graph with a Macro | Excel Discussion (Misc queries) | |||
Graph macro question | Excel Programming |