Changed module names don't register in toolbar links

G

Guest

I renamed my modules from Module1, Module2, etc., to more meaningful,
recognizable modules. Problem is, when I press the toolbar button assigned
to a macro, I get an error message that it can't find the macro. I need to
go to Customize and redefine each macro assignment to reflect the new module
names.

Why can't Excel do this automatically, much as it does when you move a cell
and it updates all formulas to the new location?
 
G

Guest

You will have to ask the designers of the software. They don't answer
questions here.
 
B

Bernie Deitrick

I believe the OnAction property of the toolbar button is a string, which
means that it will not auto-update. The better course of action is to
always use a macro to create the toolbar buttons when your library file or
add-in file is opened, and remove them when it is closed.

HTH,
Bernie
MS Excel MVP
 

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