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
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