D
Developerme
I added a custom toolbar to a2007. Programatically, I want the user to able
to select a command on a form (that opens the custom toolbar) and when
selecting that command VBA performs the 'keystrokes' to activate the command
on the custom toolbar. This was easy to do in a 2003, but I don't think I
have the correct 'controls.(" ")' in place. Currently I have;
CommandBars("CustomToolBars").Controls("Add-Ins")._
Controls("custom toolbar name").Controls("the selected command")._
Being developed for runtime. I think the problem is that I am not calling
the correct ribbon name/toolbar name in a2007?
to select a command on a form (that opens the custom toolbar) and when
selecting that command VBA performs the 'keystrokes' to activate the command
on the custom toolbar. This was easy to do in a 2003, but I don't think I
have the correct 'controls.(" ")' in place. Currently I have;
CommandBars("CustomToolBars").Controls("Add-Ins")._
Controls("custom toolbar name").Controls("the selected command")._
Being developed for runtime. I think the problem is that I am not calling
the correct ribbon name/toolbar name in a2007?