where expression is a variable that represents a Macro Object
Parameters
- macroName
- Specifies the name of the macro to run. If a macro of this name can't be found in the current settings file or in any referenced files, an error occurs. If you have macros with the same name in different files, precede the macro name with the project name and a period to correctly identify the macro. For example, "SharedMacros.Login" identifies the "Login" macro in the "SharedMacros" settings file. This value can be up to 255 characters long.
- macroData
- An optional string to pass information to the macro.