Seamus2626
asked on
Copy Chart
Hi,
I am trying to copy a chart from one Sheet to another. Whenever i do, it copys a lot larger than i want, so im looking to resize the chart once pasted.
I was trying to use the below code but everytime i paste the pic, the number changes, next paste it will be ("Chart61") etc etc
So is there a way to resize the chart on paste
ActiveSheet.Shapes("Chart 60").ScaleHeight 0.62, msoFalse, msoScaleFromTopLeft
ActiveSheet.Shapes("Chart 60").ScaleWidth 0.77, msoFalse, msoScaleFromTopLeft
Thanks
Seamus
I am trying to copy a chart from one Sheet to another. Whenever i do, it copys a lot larger than i want, so im looking to resize the chart once pasted.
I was trying to use the below code but everytime i paste the pic, the number changes, next paste it will be ("Chart61") etc etc
So is there a way to resize the chart on paste
ActiveSheet.Shapes("Chart 60").ScaleHeight 0.62, msoFalse, msoScaleFromTopLeft
ActiveSheet.Shapes("Chart 60").ScaleWidth 0.77, msoFalse, msoScaleFromTopLeft
Thanks
Seamus
Private Sub CommandButton8_Click()
Call deletePic
Sheets("Cash Chart").Visible = True
Sheets("Cash Chart").Select
ActiveWindow.ActiveChart.CopyPicture
Sheets("Cash Chart").Visible = False
Sheets("Screen").Select
Range("C14").Select
ActiveSheet.Paste
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Seamus