0

Is there a quick script/code in python to convert MHT/MHTML to PPTX? I have tried searching StackOverflow and google for it. It would be greatly appreciated!

  • What is MHT? If we knew what it was we might be able to suggest something. – Martin Packer Nov 18 '21 at 08:10
  • At one time, PPT could save as HTML/MHT in their own sort of proprietary versions of the formats that they could also read back in. As John Korchok's mentioned, that feature's been deprecated for quite some time now. In general, before looking for a way to automate something in PPT, start by figuring out how to do it manually. If it can't be done (for example, if PPT doesn't offer MHT as one of the file types it'll open/import) chances are that you can't do it under program control. – Steve Rindsberg Nov 20 '21 at 20:43

1 Answers1

0

I've never heard of a python script that can do this. PowerPoint deprecated the MHT filter after Office 2010. You can use an on-line convertor to convert your files: Free Online MHT to PPT Converter

If you have access to Office 2007 or earlier versions, you can use steps similar to those described on this page: How to Convert a MHT Extension to PowerPoint. If you have access to Office 2010, a conversion is still possible using VBA.

John Korchok
  • 4,723
  • 2
  • 11
  • 20
  • Due to DPL I can't use online converters. Python was preferred, but if there is another language that can do this, I would be open to it. Thank you! – t2dajay Nov 20 '21 at 21:40