Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you put this in to an HTML document, you can probably use the <code>IWebBrowser2</code> object to open the HTML inside a Slide. I am not sure how a 3d graphic would render, and I'mnot familiar with R or would not be able to offer any further advice, but you might start by trying to simply create a WebBrowser object inside your slide, and then tell it to Navigate to the HTML file.</p> <pre><code>Sub InsertHTMLFrame() Dim sld as Slide Dim shp as Shape Dim wb as Object Set sld = ActivePresentation.Slides(1) '## Modify as needed '## Create the shape container, you will need to modify the L/T/W/H to fit your document Set shp = sld.Shapes.AddOLEObject(100, 200, 200, 150, _ "Shell.Explorer.2") shp.Name = "3dgraphic" Set wb = shp.OLEFormat.Object wb.Navigate "C:\Users\you\Desktop\exported3dgraphic.html" End Sub </code></pre> <p>Controlling this flow during SlideShow mode may be a little trickier, but it's doable, provided the graphic renders properly through IE like this.</p> <p><strong>How to Install This Macro</strong></p> <ol> <li>Open your PowerPoint Presentation, and click Alt+F11 to bring up the Visual Basic project.</li> <li>Right-click the project in the left pane, and Insert Module:</li> </ol> <p><img src="https://i.stack.imgur.com/hGRxz.jpg" alt="enter image description here"></p> <ol start="3"> <li>Paste the code from my answer in to this module.</li> <li>In the line that says <code>wb.Navigate "C:\..."</code> modify this to the correct file path for your HTML file. This can be on your computer or in a shared network folder, etc.</li> </ol> <p>The browser should be able to display HTML pages when in SlideShow mode, but will not render them in the normal or preview mode.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload