Very simple VBA

G

Guest

Hello,

I'm reposting this after some technical difficulties.

I have never done anything with PowerPoint VBA but am ok with Excel VBA. I
want to put together a PowerPoint quiz and have found some good examples.

My question is: when I open the VB Editor in the samples, there is a
Microsoft PowerPoint Objects folder that contains each slide object. When I
open the VB Editor for my presentation all I see is a VBA Project. How do I
get to see each slide object in the VB Editor?
 
D

David M. Marcovitz

The PowerPoint Object Model is very strange and much different from Excel
and Word. Generally, you don't work with slide objects separately. If you
put control tools on a slide, then you will see the slide object in the
VB Editor, but if deal with normal shapes, you won't. You will just refer
to your slides by name and/or number (e.g., ActivePresentation.Slides(27)
or ActivePresentation.Slides("MySlideNamedJoe") or for the current slide
ActivePresentation.SlideShowWindow.View.Slide).
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top