Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to programatically list all embedded macros
in a particular workbook? I need to access a workbook object and update a listbox with all available macros. thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Matt,
Take a look at http://www.cpearson.com/excel/vbe.htm. There is enough code there to show you how. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Matt" wrote in message ... Is there a way to programatically list all embedded macros in a particular workbook? I need to access a workbook object and update a listbox with all available macros. thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
http://tinyurl.com/2opra
should provide some sample code. For general information, see Chip Pearson's site on programming the VBE http://www.cpearson.com/excel/vbe.htm basically you have to parse all the modules looking for Sub and Function and extracting the name. this assumes you don't want to just show the built in macro selection dialog. -- Regards, Tom Ogilvy Matt wrote in message ... Is there a way to programatically list all embedded macros in a particular workbook? I need to access a workbook object and update a listbox with all available macros. thanks. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Matt
Try Chip Pearson's page I believe he have a example http://www.cpearson.com/excel/vbe.htm -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Matt" wrote in message ... Is there a way to programatically list all embedded macros in a particular workbook? I need to access a workbook object and update a listbox with all available macros. thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 macros - how to merge 5 macros together into one | Excel Discussion (Misc queries) | |||
Macros warning always shows up, even if all macros removed | Excel Discussion (Misc queries) | |||
Training: More on how to use macros in Excel: Recording Macros | Excel Worksheet Functions | |||
Macros not appearing in the Tools Macro Macros list | Excel Programming | |||
Suppress the Disable Macros / Enable Macros Dialog | Excel Programming |