Placement of Chart in Worksheet

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

Hello,
I would like to place a chart at a certain location on a worksheet. e.g.,
the upper left hand corner of the chart starting at cell C1. Is there an
easy way to do this?

thanks,

bill
 
You can manually drag the chart to the desired location, or use
VBA code like the following:


Dim ChtObj As ChartObject
Set ChtObj = ActiveSheet.ChartObjects(1)
ChtObj.Top = Range("C3").Top
ChtObj.Left = Range("C3").Left


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top