Working with Microsoft PowerPoint Objects
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
This section discusses how to use VBA to manipulate Microsoft PowerPoint objects, methods, properties, and events. Just like other Office applications, you begin automating PowerPoint by using the Application object. From the Application object you can open an existing Presentation object or create a new presentation. Each Presentation object contains one or more Slide objects and each Slide object can contain Shape objects that represent text, graphics, tables, and other items found on a slide.
Note You can view the entire PowerPoint object model in the . You can also use the Object Browser and Microsoft PowerPoint Visual Basic Reference Help to learn more about individual objects, properties, methods, and events. For more information about using VBA to work with an Office application's object model, see Chapter 4, "Understanding Office Objects and Object Models."