I got a requirement today of presenting powerpoint 2010 slides on sharepoint 2010 site.
<USERNAME>= THE NAME OF USER YOU ARE LOGGED ONTO. (THIS CAN BE FOUND BY GOING TO "MY COMPUTER" CLICKING YOUR "HARD DRIVE" THEN CLICKING "USERS" THE NAME IN WHICH YOU ARE LOGGED UNDER SHOULD BE AT THE TOP OF THE LIST WITH POSSIBLY A PADLOCK ON IT (ONLY IF YOU REQUIRE A PASSWORD TO LOG INTO YOUR COMPUTER) IT MUST BE TYPED EXACTLY AS THE FOLDER SPELLS IT OUT AS (EX: IF THE FOLDER SAYS "JOHN DOE" WITH THE SPACE BETWEEN YOU HAVE TO SPELL IT "JOHN DOE" WITH THE SPACE BETWEEN)
<FILENAME>=THIS IS STANDARD AS IF YOU WERE USING THE "SAVE AS" COMMAND... NAME YOUR FILE. FOR ME I KEPT IT SIMPLE AND JUST PUT IN "WEB PAGE".
*** REMOVE THE BRACKETS*** THE "<" AND THE ">" DO NOT BELONG IN THE TYPED TEXT.
FOLLOW THESE STEPS IN EXACT ORDER
-
Open the presentation that you want to export to HTML.
-
Press ALT+F11. (A SIDE PROGRAM WILL OPEN CALLED VISUAL BASIC)
-
Press CTRL+G. (A TEXT BOX WILL APPEAR AT THE BOTTOM CALLED "IMMEDIATE")(THIS WINDOW CONSIDER IT LIKE A SAVE AS WINDOW AND YOU ARE TELLING IT WHERE TO GO)
-
In the Immediate window type the following: ActivePresentation.SaveAs "<Drive>:\users\<username>\desktop\<filename>.htm", ppSaveAsHTML, msoFalse (I COPIED AND PASTED THIS ROOT LOCATION SO WHEN YOU PASTE THE FILE INTO THE WINDOW IT WILL SAY ActivePresentation.SaveAs "<Drive>:\users\<username>\desktop\<filename>.htm THAT IS WHAT IS KNOWN AS THE ROOT DIRECTORY) (AT THIS POINT THE TEXT IN THE "<>" BRACKETS SUCH AS "<DRIVE>" SHOULD BE RENAMED TO THE FOLLOWING:
<USERNAME>= THE NAME OF USER YOU ARE LOGGED ONTO. (THIS CAN BE FOUND BY GOING TO "MY COMPUTER" CLICKING YOUR "HARD DRIVE" THEN CLICKING "USERS" THE NAME IN WHICH YOU ARE LOGGED UNDER SHOULD BE AT THE TOP OF THE LIST WITH POSSIBLY A PADLOCK ON IT (ONLY IF YOU REQUIRE A PASSWORD TO LOG INTO YOUR COMPUTER) IT MUST BE TYPED EXACTLY AS THE FOLDER SPELLS IT OUT AS (EX: IF THE FOLDER SAYS "JOHN DOE" WITH THE SPACE BETWEEN YOU HAVE TO SPELL IT "JOHN DOE" WITH THE SPACE BETWEEN)
<FILENAME>=THIS IS STANDARD AS IF YOU WERE USING THE "SAVE AS" COMMAND... NAME YOUR FILE. FOR ME I KEPT IT SIMPLE AND JUST PUT IN "WEB PAGE".
*** REMOVE THE BRACKETS*** THE "<" AND THE ">" DO NOT BELONG IN THE TYPED TEXT.
-
Press ENTER. (IF YOU DID EVERYTHING RIGHT THERE SHOULD BE A FILE ON YOUR DESKTOP, THAT IS YOUR PPT AS AN HTML)
Note
To save as a Single File Web Page (*.mht;*.mhtml) file format, replace
html at the end of the file name with mht, and replace ppSaveAsHTML with
ppSaveAsWebArchive.
Hi - wondering if you could also post how to upload the HTML file to display in SharePoint (Foundation) 2010?
ReplyDeleteIf you go to sharepoint designer and click on sitepages, You will see "pages" op0tion on the top bar. If you select that you can create pages in 2 formats ( .aspx and .html). If you select .html then it will open a page with minimal code of html with header, body and all. Here you can format the code and create a html page and save it. It will create a html page link in sharepoint. If you want to use the same css file from existing sharepoint onto this html page you can give the path in the header.
DeleteAnd SORRY for the late reply.
Delete