J
josepnewsgroups
Hi all,
I'm trying to use an addin designed for 2003 on powerpoint 2007.
The addin is basically a custom-made toolbar, some buttons call
specific procedures and some other buttons are simply powerpoint
commands that could be found in the standard menus; problem is that in
2007, some of the buttons that should call standard powerpoint
commands appear disabled (grayed out).
Some VBA code to understand better:
--
' Creates button with idButton (Powerpoint control id)
Set button = objCommandBars.Controls.Add(Type:=msoControlButton,
ID:=idButton)
--
I go through a list of several IDs to generate all buttons.
Some of the IDs that won't work:
ID: 664 'Align Left
ID: 164 'Group
Some of the IDs that work:
ID: 108 'Format Painter
ID: 111 'Apply Color Scheme
I have generated a list of all control IDs the ones I use have not
changed from 2003 to 2007.
Any idea on what is the problem?
Thanks,
J
I'm trying to use an addin designed for 2003 on powerpoint 2007.
The addin is basically a custom-made toolbar, some buttons call
specific procedures and some other buttons are simply powerpoint
commands that could be found in the standard menus; problem is that in
2007, some of the buttons that should call standard powerpoint
commands appear disabled (grayed out).
Some VBA code to understand better:
--
' Creates button with idButton (Powerpoint control id)
Set button = objCommandBars.Controls.Add(Type:=msoControlButton,
ID:=idButton)
--
I go through a list of several IDs to generate all buttons.
Some of the IDs that won't work:
ID: 664 'Align Left
ID: 164 'Group
Some of the IDs that work:
ID: 108 'Format Painter
ID: 111 'Apply Color Scheme
I have generated a list of all control IDs the ones I use have not
changed from 2003 to 2007.
Any idea on what is the problem?
Thanks,
J