Click here to Skip to main content
15,945,344 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I'm trying to create charts on the spot in Excel using VBA, with preset values for it.
However, charts take data ranges. How can I make a chart with two values of 180, rather than having to define it in a worksheet and having it use those?

1 solution

As far as I know, it is not possible.

Excel charts are done especially to work the way they are, by using data in cells.

Power Point charts are working just the way you want.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900