Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to be able to use VBA to find out the list of macro names in a
workbook. I have used code (see below) that can give me the module names, and also tried with the CodePane function, but I think I'm being a bit thick and missing something. Answers gratefully received Thanks James Sub FindMacros() Dim vbComp As VBIDE.VBComponent Dim wb As Workbook Set wb = ThisWorkbook For Each vbComp In wb.VBProject.VBComponents Debug.Print vbComp.Type & " " & vbComp.Name Next End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't see list of macros | Excel Discussion (Misc queries) | |||
list + macros continued | Excel Programming | |||
List of Macros | Excel Programming | |||
Macros not appearing in the Tools Macro Macros list | Excel Programming | |||
List the Macros that can be executed from Tools-Macros | Excel Programming |