Microsoft Office 2000/Visual Basic Programmer's Guide |
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 Microsoft Office 2000 Object Model Guide. 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."