title: powerpoint breaking links via excel vba
body: <p>I am trying to update a PowerPoint Presentation with embedded charts via Excel by using a VBA script. This works fine with my code. The Problem is that I also want - after the charts have been updated - to break/remove the links to the Excle worksheet. </p>
  
  <p>The code example shows my code also with the line that doesn´t work.</p>
  
  <p>Any suggestion or solution would be highly appreciated!</p>
  
  <pre><code>Function RefreshPPT()
  Set PPT = CreateObject("PowerPoint.Application")
  PPT.Visible = True
  PPT.Presentations.Open "Name.pptx", Untitled:=msoTrue
  PPT.ActivePresentation.UpdateLinks
  PPT.ActivePresentation.BreakLinks ------ this line doesn´t work
  PPT.ActivePresentation.SaveAs Filename:="Name2.pptx"
  PPT.Quit
  Set PPT = Nothing
  End Function
  </code></pre>