Reillyand, Inc.

 

 

Home

Typical Projects 

VBA for PowerPoint 

VBA for 
Office Integration

Charting Automation 

PowerPoint Database

RnR PPTools©  

Links to other resources

 

 

 

PowerPoint Programming

The following samples are provided as general examples of VBA techniques used in PowerPoint. Sometimes VBA code can be used across other Office applications unchanged, these particular samples are provided to illustrate the syntax differences that are specific to the PowerPoint object model.

General PowerPoint Routines

Iterate_Through_All_Shapes_And_Read_Tags()
Toggle_Path_and_Filename_In_Footer()

 

Iterate_Through_All_Shapes_And_Read_Tags()

A common desire in PowerPoint programming is to check all slides and all objects in a presentation for specific properties, such as if an object is a Title Placeholder and then to make changes only to the specific objects that meet the search criteria. This sample code checks every page and every object in a presentation and returns a message box showing that object's name and  tags that match a particular tag.  

Toggle_Path_and_Filename_In_Footer()

Can't keep track of filenames and where they are located. Use this handy piece of code to toggle the path and filename on or off. If it's off, it turns it on, and vice versa.

 

 

 

 

Send mail to brian@reillyand.com with questions or comments about this web site.
Copyright © 2001 Reillyand, Inc.  
Last modified: February 18, 2001