How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application
-
How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application. If anybody knows, please reply me. Thanks in advance.
-
I tried with Office 2010 & 2013 it gives following error Run time error '-2147188160 (80048240)': Presentation (unknown member): Invalid request. Saving as an HTML presentation is not supported in this version of Powerpoint. It works in Office 2007 - there directly i can save as MHT or HTML format. But my system installed office 2013 here it is giving error. I want try with 2010 or 2013. Please suggest.
-
How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application. If anybody knows, please reply me. Thanks in advance.
You can drive the save to MHT using automation. Basically, even though MHT isn't exposed via the save function in 2010 (not 2013 sadly) you can still get to it via VBA so you're going to have to do something like this:
Public Sub ConvertToMHT(ByVal FileLocation As String)
ActivePresentation.SaveAs FileLocation, ppSaveAsWebArchive
End Sub