Powerpoint frontend

G

Guest

I have a slide show that has around 100 slides. Basically, these are lyrics
to songs. I want to be able to design a form to allow me to select which
slide I want to go to. I'm basically a newbie with Powerpoint programming.
I do understand some VBA as I have created things for access an excel, just
not PP. Can someone point me in the right direction? Thanks.
 
S

Steve Rindsberg

I have a slide show that has around 100 slides. Basically, these are lyrics
to songs. I want to be able to design a form to allow me to select which
slide I want to go to. I'm basically a newbie with Powerpoint programming.
I do understand some VBA as I have created things for access an excel, just
not PP. Can someone point me in the right direction? Thanks.

This comes up often enough that I just cobbled up a small working example:

Fill a listbox with slide titles, make it go to chosen slide when clicked
http://www.rdpslides.com/pptfaq/FAQ00804.htm

I'm sure you can smarten it/speed it up.
 
G

Guest

Steve Rindsberg said:
This comes up often enough that I just cobbled up a small working example:

Fill a listbox with slide titles, make it go to chosen slide when clicked
http://www.rdpslides.com/pptfaq/FAQ00804.htm

I'm sure you can smarten it/speed it up.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


This is on the right path of what I'm looking for. I actually would like to
have a form start up with a listbox/combobox which would contain a list of
all of the slides. I could then click on the Name in the listbox/combobox
and go to that slide in the presentation without having to actually start the
slide show.
 
S

Steve Rindsberg

This is on the right path of what I'm looking for. I actually would like to
have a form start up with a listbox/combobox which would contain a list of
all of the slides. I could then click on the Name in the listbox/combobox
and go to that slide in the presentation without having to actually start the
slide show.

Create a form, put the combo box on it and move the INITIALIZE code from the sub in
the PPT into the form's Initialize event. The code in the Change event should work
pretty much as is, except that you'd need to change each instance of

ActivePresentation.SlideShowWindow.View.GoToSlide

to

ActiveWindow.View.GoToSlide

Then work out how you want to launch the form. You can't cause code to run
automatically when opening a PPT file.

You might also want to change the logic to trap the error that results when it
references Slide.Shapes.Title and if it errors, use e.g.

"Slide " & Cstr(Slide.SlideIndex)

as the slide title in the listbox
 
G

Guest

Thanks Steve for the help. It wasn't quite what I was looking for but it put
me on the right track. I have the form doing exactly what I was trying to
do. Now with a few tweeks, I'll be able to open the master presentation, run
the form, then select which slides/songs, and copy them to a second
presentation to run. Thanks.
 

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