roscoe
Well-known Member
- Joined
- Jun 4, 2002
- Messages
- 1,046
- Office Version
- 365
- Platform
- Windows
- MacOS
Currently I have code that that build a X-Y series with a constant Y value. That is coded as:
where Yvalue is the constant Y value.
What I'd like to do (instead of a fixed value) is reference a single cell where I can (after series creation) change one value to move the entire series up/down (or off the chart scale if I want to hide it).
How would I change the code above to do that?
Thanks!
Code:
activechart.seriescollection.newseries.values = Array(Yvalue)
where Yvalue is the constant Y value.
What I'd like to do (instead of a fixed value) is reference a single cell where I can (after series creation) change one value to move the entire series up/down (or off the chart scale if I want to hide it).
How would I change the code above to do that?
Thanks!