how to use a ComboBox in Powerpoint 
Author Message
 how to use a ComboBox in Powerpoint

Hi Friends,
I need to insert an Combo Box in powerpoint and depending on value selected
in combo box, i want to move to a particular slide, or in general wants to
do some operation. kindly help me. Its urgent.
Anticipating a prompt reply.

Thanks in advance.
Vishal



Sun, 18 Apr 2004 13:12:55 GMT  
 how to use a ComboBox in Powerpoint
Vishal,

Switch to Slide Master View
Insert the Combo Box control on the slide master
Insert the following code to process any select made (edit it to suit your
requirement)

' ---- Code ----
Private Sub ComboBox1_Change()
If ComboBox1.ListIndex = -1 Then Exit Sub
SlideShowWindows(1).View.GotoSlide ComboBox1.ListIndex + 1
End Sub
' ---- End Of Code ---

Decide  on whether you whether you wish to populate the combo box items
using an eventhandler or thru a button click (for 97)
' Example
Private Sub CommandButton1_Click()
With ComboBox1
    .AddItem "Slide 1"
    .AddItem "Slide 2"
    .ListIndex = 0
End With
End Sub
' --- End Of Example ---"

Run the slide show.
Regards
Shyam Pillai

http://www.mvps.org/skp


Quote:
> Hi Friends,
> I need to insert an Combo Box in powerpoint and depending on value
selected
> in combo box, i want to move to a particular slide, or in general wants to
> do some operation. kindly help me. Its urgent.
> Anticipating a prompt reply.

> Thanks in advance.
> Vishal




Sun, 18 Apr 2004 15:45:06 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Using 1 ComboBox to populate a 2nd Combobox

2. using a powerpoint file without powerpoint

3. Can't view powerpoint presentations on web using powerpoint xp

4. Using the PowerPoint Animation Player to view the PowerPoint 2000 ppts

5. Using the PowerPoint Animation Player to view PowerPoint 2000

6. Add ComboBox To Powerpoint

7. initialization of combobox in powerpoint

8. View Corel presentations using file using PowerPoint 97

9. using combobox to search

10. Help !! using combobox


 
Powered by phpBB® Forum Software © phpBB Group