Associating a macro with a button

S

Shawn Weidmann

In Excel 2000 I could right-click on a button and it
would give me the option of recording a macro to execute
with the button but now in Excel 2002 it no longer gives
me this option. How do I associate a macro with a button
in 2002?
 
K

Ken Macksey

Hi

I don't have Excel 2002, but in Excel 97 you have to use a button from the
Forms toolbar, not the Control toolbar to do that.


HTH

Ken
 
R

Rune_Daub

First of all you could delete the old macro first.
You do that by pressing Alt+F11 and enter one the module. Probably name
Module1 if its a single macro.
Then delete the text in there and leave the sheet. Now you should be
able to right click it again and assign a new macro.

Rune Daub
 

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