ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   interactive vba (https://www.excelbanter.com/excel-programming/279075-interactive-vba.html)

Hervé Hanuise

interactive vba
 
Hi !

In the project I have, and for didactical purpose, I would
like to automatically populate a "Commands" sheet with
buttons: one button per existing SUB of the vba module.

As my workbook starts empty, I want to automatically :
- add a new sheet and name it "Commands"
- populate the sheet with one button per existing vba SUB
in the module.

Does anyone have ideas for doing this automatically ?

Thanks and very best regards+






Tom Ogilvy

interactive vba
 
See Chip Pearson's site for the type of code you need to identify your subs:

http://www.cpearson.com/excel/vbe.htm

--
Regards,
Tom Ogilvy

"Hervé Hanuise" wrote in message
...
Hi !

In the project I have, and for didactical purpose, I would
like to automatically populate a "Commands" sheet with
buttons: one button per existing SUB of the vba module.

As my workbook starts empty, I want to automatically :
- add a new sheet and name it "Commands"
- populate the sheet with one button per existing vba SUB
in the module.

Does anyone have ideas for doing this automatically ?

Thanks and very best regards+









All times are GMT +1. The time now is 05:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com