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

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

venkat1926

Well-known Member
Joined
Aug 21, 2005
Messages
4,824
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,191,069
Messages
5,984,451
Members
439,888
Latest member
c3rberus

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
Top