Guest_imported
New member
- Jan 1, 1970
- 0
How do I take a value from a cell in Excel and make it as a horizontal line on an EXISTING chart?
I have a spreadsheet with quantitative data that is tracked across months(x axis). I put a macro button that runs VB code to create a chart on a different worksheet which charts this data in a simple bar chart with one series. However, I want to take data from a cell not in that series and make a horizontal target line. What is the code for this?
This is my first attempt at using VB in Excel. I've gotten this far using the VB help files. However the same help files seem to dance around this 'charting a target line' topic.
Any help would be appreciated. Thanks.
I have a spreadsheet with quantitative data that is tracked across months(x axis). I put a macro button that runs VB code to create a chart on a different worksheet which charts this data in a simple bar chart with one series. However, I want to take data from a cell not in that series and make a horizontal target line. What is the code for this?
This is my first attempt at using VB in Excel. I've gotten this far using the VB help files. However the same help files seem to dance around this 'charting a target line' topic.
Any help would be appreciated. Thanks.