Chris has attended:
Excel VBA Advanced course
Creating a Graph in VBA for Excel
As asked on the course, when you are creating a graph in VBA for display on an Excel worksheet, is there a way to determine the graph's size on its creation rather than having to resize (and consequently estimate the growth/reduction percentage)?
RE: Creating a Graph in VBA for Excel
Hi Chris
Thanks for the question
I have discovered that setting the width and height properties can be accessed by identifying the chart through the chart objects collection.
e.g
ActiveSheet.ChartObjects(1).Width = 600
works fine
I am still understanding how this relates to the width / height properties of the chart area etc. I will follow up when I know more
Regards
Stephen