Home     PowerPoint     Photoshop     Photos     Other     Studio     Info

Bookmark and Share  




Product Showcase




 



PowerPoint Notes

Info-things on PowerPoint usage including tips, techniques and tutorials.


Thursday, November 08, 2007
posted by Geetesh at Thursday, November 08, 2007 IST

This article is not about creating your own macros or scripts to automate PowerPoint. However, if you just want to run any macros or scripts that a friend shares, or you just got it from a book or newsgroup, then you are on the right page.

Follow these steps to get started:

  1. Make sure you have a script ready -- you can download some scripts here...

  2. Open an existing presentation, or create a new one in PowerPoint. Then press Alt+F11 to access the Microsoft Visual Basic interface that you can see in Figure 1.


    Figure 1: The Visual Basic interface

  3. Choose Insert | Module, as shown in Figure 2.


    Figure 2: Insert a module

  4. This open a new module window on the right side of the interface, copy your script here, and paste it (see Figure 3).


    Figure 3: The pasted script

  5. Now you need to run this script as a macro from within PowerPoint. To do that, first exit the Visual Basic interface by choosing File | Close and Return to PowerPoint.

  6. Now the steps you take differ depending upon which version of PowerPoint you are using.

    PowerPoint 2007 users will need to enable the Developer tab on the Ribbon if it is not already visible. To do that, choose Office Button | PowerPoint Options, and select the Popular tab on the left. Then check the option that says Show Developer tab in the Ribbon.

    Once you have done that, select the Developer tab of the Ribbon, and click Macro to bring up the Macro dialog box that you can see in Figure 4. Select the script you want to run, and click the Run button.


    Figure 4: The Macro dialog box

    Versions before PowerPoint 2007: Choose Tools | Macros | Macro to bring up the same dialog box that you saw in Figure 4. Then select the script you want to run, and click the Run button.
Remember, some scripts may do nothing at all unless you have something selected on the slide before you run them!

Tip from Steve Rindsberg: You can store many, many macros/scripts/routines in a single PowerPoint file and as long as you have it open along with any other files, you can access the macros as described.

See Also: Create an Add-in with toolbars that run macros (PPT FAQ by Steve Rindsberg)

Labels: , , ,

0 comments

Links to this post



[an error occurred while processing this directive]

Archives:

July 2004  |  August 2004  |  September 2004  |  May 2005  |  June 2005  |  July 2005  |  November 2005  |  February 2006  |  April 2006  |  June 2006  |  September 2006  |  October 2006  |  February 2007  |  May 2007  |  August 2007  |  November 2007  |  February 2008  |  October 2008  |  June 2009  |  

Featured Story

Adobe Captivate's Edit View

In an earlier post last week, I discussed Adobe Captivate's views and compared them to PowerPoint's deafult views. I also explained about the Storyboard View. In this post, I'll look at Captivate's Edit view, which in many ways is similar to PowerPoint's Normal view. If you are not already in Edit view within Captivate, choose the View drop-down in the toolbar, and select Edit View.

Learn more here...


    
Featured Book

PowerPoint 2007 Complete Makeover Kit

PowerPoint 2007 Complete Makeover Kit
PowerPoint 2007 Complete Makeover Kit is out! Check the book on Amazon.com...

And here are some free excerpts...


Home |  PowerPoint |  Photoshop |  Templates |  Blog |  Notes |  Ezine |  Studio |  Advertise |  Feedback |  Info |  Site Map
Store  |  RSS |  Privacy |  Testimonials
Free PowerPoint Backgrounds | Free PowerPoint Templates | Free Christian PowerPoint Backgrounds
Page copy protected against web site content infringement by Copyscape
  Page copy protected against web site content infringement by Copyscape


  ©2000-2009, Geetesh Bajaj. All rights reserved.

    since November 02, 2000