Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command button in Power Point

Status
Not open for further replies.

mai19ea

Technical User
Nov 26, 2005
31
LY
i have a command button in a selected slide and i want to assign a code to open another slide / file every time i click the command button.

thanks
 
1. Right click the button
2. Select View code
3. Use something like the following:
Code:
Private Sub CommandButton1_Click()
With SlideShowWindows(1).View
    .GotoSlide [i]slide number[/i]
End With
End Sub

Gerry
 
thanks for the reply

i already use the code which you provided, but i cannot activate the command button.
 
What do you mean you can not activate the command button?

Gerry
 
Please describe EXACTLY what is happening. Are you trying to fire the button code during slide presentation? NOT during presentation - that is, while in Normal View? In Slide Sorter View? Please tell us EXACTLY what you are doing. Because...well, it works. The button is clicked, and it goes to the slide coded.

And please do not double post.

Gerry
 
thanks for the reply

im trying to fire the button code while in normal view.

manythanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top