Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / October 2006

Tip: Looking for answers? Try searching our database.

Very simple VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MarkN - 04 Oct 2006 00:41 GMT
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?
Signature

Thanks in advance and apologies for my ignorance,
MarkN

David M. Marcovitz - 04 Oct 2006 16:20 GMT
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

Signature

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/

> Hello,
>
[quoted text clipped - 8 lines]
> 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?
MarkN - 05 Oct 2006 00:24 GMT
Thanks for your response David, this is exactly what I needed.
Signature

Thanks again,
MarkN

> 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
[quoted text clipped - 17 lines]
> > 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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.