title: Paste Chart and Change Size in Power Point - VBA
body: <p>I'm trying paste a chart in PowerPoint using the command:</p>
  
  <pre><code>PPApp.CommandBars.ExecuteMso "PasteExcelChartSourceFormatting"
  </code></pre>
  
  <p>It's working very well, but when I try to change size and position the code don't make effect in chart properties and don't return errors. 
  When I use the command: </p>
  
  <pre><code>Shapes.Paste.Select
  </code></pre>
  
  <p>I can change and resize the chart, but don't work for me because I want "PasteExcelChartSourceFormatting". 
  What are my mistakes?</p>
  
  <p>My full code
      With PPSlide</p>
  
  <pre><code>    ActiveChart.ChartArea.Copy
  
      PPApp.CommandBars.ExecuteMso "PasteExcelChartSourceFormatting"
  
      '.Shapes.Paste.Select
  
      With PPApp.ActiveWindow.Selection.ShapeRange
          .LockAspectRatio = msoFalse
          .Width = 680.314961
          .Height = 453.543307
          .Left = 19.8425197
          .Top = 56.6929134
      End With
  </code></pre>