Macro Button & Change Name of Macro

D

Debbie K.

How do I change the name of a macro and how do I insert a button for the
macro on the toolbar?

All of your help is appreciated.

Thanks,
Debbie
 
B

Bernie Deitrick

Debbie,

To change the name of the macro, go into the VBE (Alt-F11), locate the
module and the macro, then edit the name of the macro.

To assign it to a toolbar button, right click on the toolbar, choose
"Customize", click on the "Commands" tab, select "Macros" under
category, then click and drag the smiley face to the desired place on
a toolbar. Then right click on the smiley and choose "Assign Macro"
and find your newly renamed macro.

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