Header
PowerPoint tips, hints and tutorials that will change your presentations for ever!

INDEX

 

Jigsaws
Sounds
Video
Custom Shows
vba code
NaviSlides
Games for teachers
Bullets
Triggers
Security
Flash Cards
Multiple Instances
PowerPoint 2007
Mail Merge
Random events
Animation
Hyperlinks
Set spellcheck language


Home buttonTutorial buttonContact buttonProducts button


VBA Loops

In this lesson we are going to write code to loop through all the slides in a prsentation.

We need to declare a variable to hold the slide count and then a variable to hold the loop count. We'll use a long for ths slide count (just as PPT does) and an integer for the loop count.

Loop

The code counts the shapes on each slide in turn and tells you the answer.

 

NEXT LESSON With statements

 
 

Back to the Index Page

POWERPOINT BLOG

Articles on your favourite sport

Free Microsoft PowerPoint Advice, help and tutorials, Template Links
This website is sponsored by Technology Trish Ltd
© Technology Trish 2007
Registered in England and Wales No.5780175
PowerPoint® is a registered trademark of the Microsoft Corporation