InfoConnect for Airlines
GetMacroNames Method (IMacro)


The location from which to get the list of macro names. MacroEnumerationOption.Document gets a list of names from the session document's VBA project. MacroEnumerationOption.CommonProject gets a list of names from the Common VBA project.
Gets a list of existing macro names.
Syntax
'Declaration
 
Function GetMacroNames( _
   ByVal macroSource As ProjectOption _
) As String()
'Usage
 
Dim instance As IMacro
Dim macroSource As ProjectOption
Dim value() As String
 
value = instance.GetMacroNames(macroSource)

Parameters

macroSource
The location from which to get the list of macro names. MacroEnumerationOption.Document gets a list of names from the session document's VBA project. MacroEnumerationOption.CommonProject gets a list of names 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