G
Goody
I have added a control to the Frames pop-up menu, and assigned a macro using
the code shown below:
Sub addSlideTwo()
Set myControl = CommandBars("Frames").Controls _
.Add(Type:=msoControlButton, Before:=1) ' Add new control at start
of Frames menu.
With myControl
.Caption = "Select Second Slide" ' Define caption.
.OnAction = "SecondSlide" ' Identify macro to run.
End With
End Sub
The control works fine on the template (.pot), but not in a new
presentation, even though all of the macros are contained in the presentation.
I have tried using the module name in front of the macro name, but there was
no change.
What am I missing?
the code shown below:
Sub addSlideTwo()
Set myControl = CommandBars("Frames").Controls _
.Add(Type:=msoControlButton, Before:=1) ' Add new control at start
of Frames menu.
With myControl
.Caption = "Select Second Slide" ' Define caption.
.OnAction = "SecondSlide" ' Identify macro to run.
End With
End Sub
The control works fine on the template (.pot), but not in a new
presentation, even though all of the macros are contained in the presentation.
I have tried using the module name in front of the macro name, but there was
no change.
What am I missing?