Reassigning custom toolbar button functionality

E

Eric White

In the interest of organization, I moved some subs to another module.
Trouble is, they were linked to some custom toolbar buttons. When I clicked
one those buttons, I got the "The macro cannot be found or has been disabled
because of your Macro security settings" warning box. In Excel, it's easy to
reassign a toolbar button. But I don't see the same "Assign Macro" menu item
in the Word customization pop-up menu that is in Excel.

Is there a way to reassign custom toolbar buttons? Or am I doomed to create
new buttons and assign them to the subs?
 
W

Word Heretic

G'day "Eric White" <[email protected]>,

The easiest way is to redrag the routines up and copy the face over.
If you really must muck with your custom controls:

CommandBars("Menu name").Controls(n).OnAction="newmodule.macroname"

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Eric White reckoned:
 
E

Eric White

Thanks for the info. Will do. I was hoping there was some beautiful,
miraculously elegant way. Too bad someone hasn't come up with code that will
expedite the process. Guess I'll add that too my "to do" list. (The way
that list keeps growing, I'll have to buy SQL Server to manage it pretty
soon.)
 
W

Word Heretic

G'day "Eric White" <[email protected]>,

LOL! I know the feeling mate :)

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Eric White reckoned:
 

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