InfoConnect for Unisys VBA Guide
GetMacroNames Function (Macro)
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.
Gets a list of existing macro names.
Syntax
object.GetMacroNames( _
   ByVal macroSource As MacroEnumerationOption _
) As String()

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

 

 


2015 Attachmate

Send Feedback