title: How to Resize and Reposition Chart Objects in Excel?
body: <p>I am writing a Matlab function to position the Chart in the Excel Sheet( Workbook ). I am using the following code to resize and position it.</p>
  
  <pre><code>Excel.ActiveSheet.ChartObjects.Width=400;
  Excel.ActiveSheet.ChartObjects.Height=250;
  Excel.ActiveSheet.ChartObjects.Left=50;
  Excel.ActiveSheet.ChartObjects.Top=200;
  </code></pre>
  
  <p>As you notice, the postion, size are hardcoded. I would like to position the image where I can specify the cell address or the range to place the chart.</p>
  
  <p>Thanks</p>