Sizing of Graphs

Vijay Anand

Board Regular
Joined
Jan 21, 2008
Messages
69
Hi, I have Graphs which are autopopulated via VBA.
I managed to snap the generated graphs by following code which was given by Andrew....( Thanks Once again to him ).....

Sub Test()
Charts.Add
With ActiveChart
.Location Where:=xlLocationAsObject, Name:="Sheet1"
End With
With ActiveChart.Parent
.Top = Range("B10").Top
.Left = Range("B10").Left
End With


But Now I need to size the graphs...
They appear different on differernt monitors...

That is the lower corner of the graphs should also be snapped to a particular cell...
Pl help me with the VBA codes....

Thanks & Regards,

Vijay anand.R:eek:
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
the sizing of the graphs is trichy. What i do is create(not writing ) a macro and sixing the graph to my liking and slighly modify the macro so that it will be general
 
Upvote 0

Forum statistics

Threads
1,214,384
Messages
6,119,201
Members
448,874
Latest member
Lancelots

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top