How to assign a macro to a button in Excel 2003?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In prior versions of Excel, once you added a button to a page a window would
automatically pop up and have option to "assign macro". Some genius at
Microsoft decided this was too simple. Anyone know if this option is still
there or do you have to copy the code and paste it in VB Editor?
 
It still does that for buttons from the forms toolbar. I suspect you are
adding a commandbutton from the control toolbox toolbar. You don't assign
macros to these because they use events. If you want the old style
behavior, use a button from the forms toolbar.
 
Thanks, you are correct... my mistake.

Tom Ogilvy said:
It still does that for buttons from the forms toolbar. I suspect you are
adding a commandbutton from the control toolbox toolbar. You don't assign
macros to these because they use events. If you want the old style
behavior, use a button from the forms toolbar.
 

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

Back
Top