Navigation:  Object Model Reference > Application Object >

ExpandMacrosAndScript Function

Previous pageReturn to chapter overviewNext page

Expands any macro references and script expressions in the provided string, treating undefined macros or script errors as an error condition.

 

Syntax

 

Application.ExpandMacrosAndScript(ByVal input As String) As String

 

Arguments

 

Application

       Application object

 

input

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

 

See Also

 

Applies to Application object