Scrollable list box

  • Thread starter Thread starter John Smith
  • Start date Start date
J

John Smith

I would like to have a scrollable list box populated with linked text. The
list would be a collection of short desriptions of photos (or videos). I
would like each item in the list box to be linked to a certain slide with a
photo of the item selected. So, for example, I would have a list box in
which "Blue Vase" would be one of the items. When "Blue Vase" is clicked on
in the list it brings up the slide with a photo of the Blue Vase. I need it
to be scrollable because the list can get rather long.

I downloaded and installed VBA Controls Assistant 1.2, but I'm no VB
programmer so I'm uncertain if I have even got a tool that can do the job or
if there is an easier way to do what I need.

I am using PowerPoint 2000 SP-3

Any help is appreciated.

Thanks,
Nick.
 
Insert a ListBox on a slide. The presentation should have at least 7 slides
for this macro to work.

Insert the following two sub routines:

=====Begin Code=========
Private Sub ListBox1_GotFocus()
'Load list box
ListBox1.Clear
For x = 1 To 7
ListBox1.AddItem "Slide " & x
Next x
End Sub

Private Sub ListBox1_Click()
SlideShowWindows(1).View. _
GotoSlide ListBox1.ListIndex + 1
End Sub
=====End Code===========

The first click on it will load the box, the second will jump to the slide
listed. This is not your complete solution, but you should be able to
modify it to fit your needs.

--
Bill Dilworth, Microsoft PPT MVP
===============
Please spend a few minutes checking vestprog2@
out www.pptfaq.com This link will yahoo.
answer most of our questions, before com
you think to ask them.

Change org to com to defuse anti-spam,
ant-virus, anti-nuisance misdirection.
..
..
 
Back
Top