Rocket® InfoConnect Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
Indicates the location from which the list of macro names is generated. MacroEnumerationOption.Document
gets the list from this session document's VBA project. MacroEnumerationOption.CommonProject
gets the list from the Common VBA project.
GetMacroNames Method (Macro)
In This Topic
Gets a list of existing macro names.
Syntax
expression.GetMacroNames( _ ByVal macroSource As MacroEnumerationOption _ ) As String()
where expression is a variable that represents a Macro Object
Parameters
- macroSource
- Indicates the location from which the list of macro names is generated. MacroEnumerationOption.Document gets the list from this session document's VBA project. MacroEnumerationOption.CommonProject gets the list from the Common VBA project.
Return Value
A set of macro names. The set may be empty if there are no existing macros.
See Also