A2007 custom toolbar

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top