title: Creating a Powerpoint with Graphs from Access
body: <p>I am trying to programmatically create a PowerPoint from graphs in Access. Ideally, when the graphs move over to PowerPoint they will become static pictures and not graphs still linked to the access data.</p>
  
  <p>I have tried procedures such as:</p>
  
  <pre><code> Private Sub Command1_click()
       Dim pwrpnt as Object
       Dim Presentation as Object
  
       set pwrpnt = CreateObject("Powerpoint.Application")
       pwrpnt.Activate
       Set Presentation = pwrpnt.Presentation.Open("C:\test.ppt")
       Me.Graph1.SetFocus
       Runcommand acCmdcopy
  
       Presentation.Slides(1).Shapes.Paste
       set pwrpnt = Nothing
       set Presentation = Nothing
  End Sub
  </code></pre>
  
  <p>And I get an error message such as: Paste method failed.</p>
  
  <p>Is there a better approach?  And can it be forced to become a static image?</p>
  
  <p>Thank you.</p>