Navigation:  Object Model Reference > Application Object >

ExpandMacros Function

Previous pageReturn to chapter overviewNext page

Expands macro references in the provided string, leaving undefined macros unchanged and evaluating script expressions only if the Shift key is held down.

 

Syntax

 

Application.ExpandMacros(ByVal input As String) As String

 

Arguments

 

Application

       Application object

 

input

       Required.  The string to search for and expand macro values in.  If no macros are found, the string is returned unchanged.

 

See Also

 

Applies to Application object