This project has moved. For the latest updates, please go here.

New document ,in Powerpiont and Excel to call .Save(), is not same as in Word to show the "Save as"Dialog.

Dec 13, 2014 at 2:23 AM
Edited Dec 13, 2014 at 2:25 AM
Hello,
ComAddin for Word, Powerpoint, Excel.
New document in Powerpiont and Excel to call .Save() ,the result is not like in word.

and my .Save Code:
in Powerpoint: "_powerpointApplication.ActivePresentation.Save()",
in Excel: "_excelApplication.ActiveWorkbook.Save() " ,
in Word: "_wordApplication.ActiveDocument.Save() " ,

In word, new document to .Save, will show "Save as" dialog, but not in Powerpoint and Excel.
Why? and how to do, let in Powerpoint and Excel to show the "Save as " dialog.
Coordinator
Dec 15, 2014 at 9:45 AM
no idea about powerpoint. excel and word is pretty the same. Save() works silent if the document is already saved(not new and unsafed) otherwise the dialog occurs. The SaveAs dialog is also suspended in any case if the Application.DisplayAlerts property is set to false in excel and WdAlertLevel.wdAlertsNone in word.
Thats all i know so far ...


*Sebastian