How to Add Live Web Pages in PowerPoint Presentations
By Kevin Lee
You may find a live Web page useful when giving a business presentation that relies on real-time information. Instead of showing a slide containing a picture of old stock market data, you could impress your audience with a live Web page that displays current financial data from your favorite business site. PowerPoint does not come with a button that can display a live Web page, but you can invent one using a few PowerPoint tricks and a WebBrowser control that comes with the application.
Add WebBrowser Control
Launch PowerPoint and proceed to the next step if the ribbon already contains the Developer tab. Otherwise, right-click the ribbon, and then click "Customize the Ribbon" to display the Customize the Ribbon window. Place a check mark in the Developer check box located in the window's Main Tabs panel, and then click "OK" to place the Developer tab on the ribbon.
Click the "Developer" tab and move to the Controls section on the ribbon, where there's a small icon that looks like a wrench and a hammer. This is the More Controls button. Click that button, scroll through the list of controls, and then click "Microsoft Web Browser."
Click "OK" and then click location on the slide where you would like a Web page to appear. Hold down your left mouse button and drag the mouse to draw a WebBrowser control on the slide.
Click the ribbon's "Visual Basic" button to open the Visual Basic editor. Click "Insert," and then click "Module." The editor adds a window that allows you to paste code into it.
Paste the following code into that window:
Sub VisitURL() Dim url as Variant url = "INSERT_URL_HERE" Slide1.WebBrowser1.Navigate url End Sub
Replace "INSERT_URL_HERE" with the URL of the Web page you want to appear in the slide. Ensure that you enclose the URL in quotes, as shown above.
Add Action Button
Press "Alt-Q" to close the Visual Basic editor and return to your PowerPoint slide that contains the WebBrowser control. Click "Insert," and then click "Shapes" to display a drop-down menu. Scroll to the bottom of the menu and click one of the buttons in the Action Buttons section.
Click an area below the Web Browser, hold on your left mouse button and drag the mouse to draw a small button. The Action Settings dialog window opens when you release your left mouse button.
Click the "Run Macro" radio button to select it, and then click the drop-down menu below that button. The button contains a list of macros, including the one you created in the previous steps. That macro's name is VisitURL.
Click that macro to select it, and then click "OK." Press "F5" to preview the slide show. Click the slide’s button to make your Web page appear.
The PowerPoint installation program does not add the Developer tab when you install the application. Therefore, if you've never added that tab, you don't have to search the ribbon looking for it because it's not there. Simply add it as described in the steps.
The Active Buttons section has several buttons from which you can choose. They may have different shapes, but all perform the same task: they cause an action to occur when you click them. Choose the button that looks best with your slide's content.
When you need to display a new Web page on a slide, return to the Visual Basic editor by clicking the Developer tab’s “Visual Basic” editor, and then replace the old URL that you've added with a new one.
These steps apply to PowerPoint 2010, but you can perform the same task using PowerPoint 2007. If you use PowerPoint 2007, add the Developer tab by clicking the Microsoft Office button, clicking "PowerPoint Options," and then clicking "Popular." Place a check mark in the "Show Developer Tab in Ribbon" check box to add the Developer tab to PowerPoint 2007. You can then follow the rest of the instructions as listed to add a live Web page to your presentation.
After majoring in physics, Kevin Lee began writing professionally in 1989 when, as a software developer, he also created technical articles for the Johnson Space Center. Today this urban Texas cowboy continues to crank out high-quality software as well as non-technical articles covering a multitude of diverse topics ranging from gaming to current affairs.