S
swordfish
Hello,
I'm running ppt2003. And I'm trying to get my add-in to show up on my menu
bar.
I'm trying to follow this procedure from MS: "How to create a PowerPoint
add-in in PowerPoint 2000" found at http://support.microsoft.com/kb/q222737/
Here is my Autpen routine:
Sub Autpen()
Dim NewControl As CommandBarControl
Dim ToolsMenu As CommandBars
Set ToolsMenu = Application.CommandBars
Set NewControl = ToolsMenu("Tools").Controls.Add _
(Type:=msoControlButton, _
Before:=1)
NewControl.Caption = "Word with TOC"
NewControl.OnAction = "ShowForm"
MsgBox "Autpen function ran"
End Sub
I thin follow all the steps to load the add-in, changing the macro security
settings etc. I close ppt and start it again, but I don't see my macro
listed under the "Tools" menu.
You'll notice I added a msgbox to the routine thinking it would alert me as
to when the Auto_Run routine fired, but it doesn't come up. Any ideas??
Thanks in advance.
Alan
I'm running ppt2003. And I'm trying to get my add-in to show up on my menu
bar.
I'm trying to follow this procedure from MS: "How to create a PowerPoint
add-in in PowerPoint 2000" found at http://support.microsoft.com/kb/q222737/
Here is my Autpen routine:
Sub Autpen()
Dim NewControl As CommandBarControl
Dim ToolsMenu As CommandBars
Set ToolsMenu = Application.CommandBars
Set NewControl = ToolsMenu("Tools").Controls.Add _
(Type:=msoControlButton, _
Before:=1)
NewControl.Caption = "Word with TOC"
NewControl.OnAction = "ShowForm"
MsgBox "Autpen function ran"
End Sub
I thin follow all the steps to load the add-in, changing the macro security
settings etc. I close ppt and start it again, but I don't see my macro
listed under the "Tools" menu.
You'll notice I added a msgbox to the routine thinking it would alert me as
to when the Auto_Run routine fired, but it doesn't come up. Any ideas??
Thanks in advance.
Alan