Hi,
Does anyone know how to use VB to call code that's placed behind a button on an excel spreadsheet ?
e.g Have a 'Sheet1' with a button...the sub behind this button is called 'Sub CommandButton1_Click'...i want to access this code ....
Creating a macro to point to this code is not the best solution for me....as i`m scripting something which loops through lots and lots of excel workbooks.
Any ideas ?
Thanks
Derek
Does anyone know how to use VB to call code that's placed behind a button on an excel spreadsheet ?
e.g Have a 'Sheet1' with a button...the sub behind this button is called 'Sub CommandButton1_Click'...i want to access this code ....
Creating a macro to point to this code is not the best solution for me....as i`m scripting something which loops through lots and lots of excel workbooks.
Any ideas ?
Thanks
Derek