powerpoint saveas

N

neoret

Hello.

I have managed to use the saveas method to both excel and word. Now
it's only the powerpoint remaining... This is how I have written it:


theActivePpt.SaveAs(filename,


Microsoft.Office.Interop.PowerPoint.PpSaveAsFileType.ppSaveAsDefault,
Microsoft.Office.Core.MsoTriState.msoTrue);


I also tried with the PpSaveAsFileType = ppSaveAsPresentation.


This code returns with an error: (stacktrace;)
System.Runtime.InteropServices.COMException occurred
HelpLink=""
Message="Presentation (unknown member) : Failed."
Source="Microsoft Office PowerPoint 2003"
ErrorCode=-2147467259
StackTrace:
at
Microsoft.Office.Interop.PowerPoint.PresentationClass.SaveAs(String
FileName, PpSaveAsFileType FileFormat, MsoTriState EmbedTrueTypeFonts)


Does anyone know what I'm doing wrong??


I'll be happy for any answers...


neoret
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top