G
Guest
Im trying to have one action button run several macros at once. I thought
the easiest way would be to set up a macro (A) to run all the other macros
and then set the action button to run macro (A). Can this be done? Am I on
the right track?
I dont know if this makes a difference or not, but the macros that need to
run are all activeX ComboBoxes on various slides and are "Private Subs". Ive
tried the following, but its not working. Any help is greatly appreciated.
Sub BeginReport ( )
Dim BeginReport as String
BeginReport ActionSettings(ppMouseClick).Action = ppActionRunMacro
BeginReport.ActionSettings(ppMouseClick).Run = "Slide11.ComboBox1_Change"
BeginReport.ActionSettings(ppMouseClick).Run = "Slide5.ComboBox1_Change"
BeginReport.ActionSettings(ppMouseClick).Run = "Slide87.ComboBox1_Change"
BeginReport.ActionSettings(ppMouseClick).Run = "Slide87.ComboBox2_Change"
ActivePresentation.SlideShowWindow.View.GotoSlide (9)
ActivePresentation.Saved = True
End Sub
the easiest way would be to set up a macro (A) to run all the other macros
and then set the action button to run macro (A). Can this be done? Am I on
the right track?
I dont know if this makes a difference or not, but the macros that need to
run are all activeX ComboBoxes on various slides and are "Private Subs". Ive
tried the following, but its not working. Any help is greatly appreciated.
Sub BeginReport ( )
Dim BeginReport as String
BeginReport ActionSettings(ppMouseClick).Action = ppActionRunMacro
BeginReport.ActionSettings(ppMouseClick).Run = "Slide11.ComboBox1_Change"
BeginReport.ActionSettings(ppMouseClick).Run = "Slide5.ComboBox1_Change"
BeginReport.ActionSettings(ppMouseClick).Run = "Slide87.ComboBox1_Change"
BeginReport.ActionSettings(ppMouseClick).Run = "Slide87.ComboBox2_Change"
ActivePresentation.SlideShowWindow.View.GotoSlide (9)
ActivePresentation.Saved = True
End Sub