title: Adding a VBA macro to powerpoint
body: <p>I am trying to create a new macro in powerpoint programmatically using interop.powerpoint</p>
  
  <p>I have tried using Presentation object but the VB Project property only contains get attribute.</p>
  
  <pre><code>PowerPoint.Application oPP = new PowerPoint.Application()
          {
              DisplayAlerts = Microsoft.Office.Interop.PowerPoint.PpAlertLevel.ppAlertsNone,
              Visible = MsoTriState.msoTrue
          };
  
          PowerPoint.Presentations oPresSet = oPP.Presentations;
          PowerPoint._Presentation _activePres = oPresSet.Open(@"‪C:\Users\Mohit\Desktop\Archive\Working_Session_S&amp;OP.pptx",
          MsoTriState.msoTrue, MsoTriState.msoFalse,
          MsoTriState.msoTrue);
  </code></pre>
  
  <p>I want to send the VBA macro code from C#</p>