Hi,
I have a problem.
Using VB I want to insert a button into a worksheet (either a form or ActiveX button) and assign it to a specific VB module.
So, loop 5 times and each pass of the loop insert a button and then assign the executable for the button-click to, say, a module called RunMe1, RunMe2, RunMe3, etc. The modules name will actually be constant, what I cannot do is access the buttons properties to tell it which module to assign to the individual buttons.
I can loop down and insert the buttons using a template button, but after each paste it loses the reference to the module. Anyone any thoughts...
I'm using Excel 2003 and 2007.
Thanks,
Errol
Bookmarks