Assigning a macro to a button (or key) using VBA


Posted by GEOR on January 25, 2001 7:55 AM

I have a toolbar which holds buttons 0 to 9 which I use for assigning temporary macros.

I would like to assign and deassign the macros to buttons in VBA but don't know how.

Naming the toolbar is OK with:

Toolbars("NUMBERS").ToolbarButton(n).Name = "purpose"

but how do I assign.

Can anyone help

Thanks

GEOR.

Posted by Peter on April 12, 2001 7:51 AM

Sorry chum can't help

Peter

Posted by GEOR on April 12, 2001 7:56 AM

Thanks Peter

GEOR

Posted by Angie on April 12, 2001 8:00 AM

Nor can I

Angie



Posted by GEOR on April 12, 2001 8:02 AM

Gee thanks a bunch Angie

GEOR