Navigation:  Object Model Reference > Application Object >

FindMacro Function

Previous pageReturn to chapter overviewNext page

Search all macro collections for the given macro, searching highest precedence macros first.

 

Syntax

 

Application.FindMacro(ByVal name As String) As IMacro

 

Arguments

 

Application

       Application object

 

name

       Required.  The name of the macro to search for.

 

Return Value

       Returns the Macro object if found or Nothing if not found.

 

See Also

 

Applies to Application object