Commandbutton macro in Master slide?

  • Thread starter Thread starter daahli
  • Start date Start date
D

daahli

Hey,

Could somebody tell me how to create a commandbutton macro that i
available in every slide? Right now I have the macro working in slid
1, but it is a pain to copy the commandbutton1_click method to th
hundreds of slides I have. I tried to implement it in the master slid
but was unsucessful.

I would really appreciate help.

Thanks :
 
It's hard for us to comment on what is wrong when you don't post the
relevant code show what you have done. If you do that, we'll be happy
to help.
It's also confusing to me to try and figure out what you are doing

This works for me.
Draw a CommandButton on the Slide Master and assign it the following
code
Private Sub CommandButton1_Click()
MsgBox "Hello"
End Sub

Now create two slides. View the show and press the CommandButton
during the slide show.
Brian Reilly, PowerPoint MVP
 
Back
Top