If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Plot series from Code
Turn on the macro recorder (Tools | Macro Record new macro...) add
the series by hand, and turn off the recorder. XL will give you the necessary code. -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions In article , says... Is it possible to plot a series from code. What I want to do is plot some horizontal lines that do not change. For example I the y values will be say 50 for any given y value. Another way to think of this is I want to add horizontal gridlines at pre-determined points. Any ideas on how to do this. Bruce |
#2
|
|||
|
|||
Plot series from Code
Bruce -
Do you need a macro? Here are some non-vba approaches: http://peltiertech.com/Excel/Charts/AddLine.html - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services http://PeltierTech.com/Excel/Charts/ _______ Bruce wrote: Is it possible to plot a series from code. What I want to do is plot some horizontal lines that do not change. For example I the y values will be say 50 for any given y value. Another way to think of this is I want to add horizontal gridlines at pre-determined points. Any ideas on how to do this. Bruce |
Thread Tools | |
Display Modes | |
|
|