Hello!
I need to know the presentation name and presentation path when it changes. So I have created an event handler for PresentationBeforeSave event.
This handler sets the cancel parameter to true and shows a save as dialog box:
try{
cancel = true;
Microsoft.Office.Core.FileDialog fd = this.Application.get_FileDialog(Microsoft.Office.Core.MsoFileDialogType.msoFileDialogSaveAs);
fd.Show();
this.Application.ActivePresentation.SaveAs(fd.SelectedItems.Item(1), Microsoft.Office.Interop.PowerPoint.PpSaveAsFileType.ppSaveAsPresentation, Microsoft.Office.Core.MsoTriState.msoTrue);}
catch(Exception e){}
unfortunately I am getting a Presentation (unknown member) : failed exception message.
Does anyone know hot can I obtain the name and the path of my presentation after a save as?
Thank u
Cheers