View what macro is assigned to a tool bar button

J

JLGWhiz

Right click the button. If the pop-up menu appears with the option to
assign a macro, then select that option. If a macro is assigned, it will
appear in the top window, shaded. If none is assigned it will appear as
Button1_Click, Or whatever button number it happens to be.

If the pop-up menu does not appear when you right click the button, then the
button is from the Control Tool box and you will need to enter design mode
to access the code for the button. Once in design mode, right click the
button and select "View Code" from the pop-up menu. That is that the
CommandButton_Click code is the code for that button.
 

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