LastDance74
Programmer
I have an Excel worksheet that, depending on selections made by the user, generates a new worksheet in the same workbook.
I have all this working fine but have hit a problem when trying to add a command buttons on_click event code and a few other little subprocedures to the new worksheet.
Is it possible to edit the new sheets code using VBA at runtime? When I create the Command button object how do I set it's events?
Thanks for any insight
Sam.
I have all this working fine but have hit a problem when trying to add a command buttons on_click event code and a few other little subprocedures to the new worksheet.
Is it possible to edit the new sheets code using VBA at runtime? When I create the Command button object how do I set it's events?
Thanks for any insight
Sam.