BlueZone Host Automation Object
BlueZone Object methods
RunMacro
RunMacro
Runs a VBA macro.
Parameters
MacroStr
The name of the VBA macro to run. The macro procedure must exist in the BlueZone VBA project file loaded by the session.
MacroParamStr
Optional: Macro parameter to pass to the macro procedure when calling.
Returns
None.
Example
set bzhao = CreateObject("BZWhll.WhllObj") bzhao.Connect bzhao.RunMacro "SubOne"
Parent topic:
BlueZone Object methods