none
Powerpoint ActivePresentation SaveAs RRS feed

  • General discussion

  • Hi,

    I'm trying to save the ActivePresentation in Powerpoint from an addin using this,

     Globals.AddIn.Application.ActivePresentation.SaveAs(fileName, Microsoft.Office.Interop.PowerPoint.PpSaveAsFileType.ppSaveAsDefault, MsoTriState.msoFalse);

    but I keep getting a COMException: Presentation (unknown member) : Failed.

    I checked that Globals.AddIn.Application.ActivePresentation is not null. Any help will be appriciated,

    Thanks,

    • Changed type Bessie Zhao Friday, April 2, 2010 1:53 AM
    Thursday, March 25, 2010 8:58 PM

All replies

  • Hello Soumyac,

    Where you put this code? Click event handler? or else? I have made a very simple project for test here. However, I am not able to reproduce this issue. Please download this project, and see if there is a difference between us. Assume that you are working with PowerPoint 2007 Add-in.

    Best regards,
    Bessie


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Monday, March 29, 2010 8:55 AM