Follow-up to Extracting Images from Powerpoint Presentations for (e.g.) LaTeX presentations from the NISOx blog (formerly Neuroimaging Statistics Tips & Tools)
[NOTE: Powerpoint can now do this directly via “Export as…”, and then selecting HTML. Leaving this entry just for reference. -TN 2017/04/27]
Arrrgh. In Powerpoint 2011 for Mac there is no “HTML” option in the “Save as…” dialog.
Fortunately, there is a Microsoft Support note that gives a work around. For convenience (& my memory) here it is distilled:
- Press ALT+F11. (Depending on your keyboard settings, you might have to hold down “fn” to get F11.) This will open a “Project” window.
- Press CMD+CTRL+G to open the “Immediate” window. (The support page leaves out CMD, the ‘Apple’ key.)
- In the “Immediate” window paste in the following:
ActivePresentation.SaveAs "/tmp/name.htm", ppSaveAsHTML, msoFalse
Press ENTER.
This will give you a name.htm file and a name_files directory. Of course, you can replace ”/tmp/myfile.htm” with the desired path and filename. However, I find it saves keystrokes to save it into /tmp, and then move the file to wherever you really want it.
While you’ll see the images in the *_files/ folder, disappointingly, I don’t find the same original source images like I have seen before. Again, Arrrgh.
-Tom