Causes the session to load an external VBA project file,
run the specified macro procedure, and then close the VBA project.
- Parameters
- ProjectStr
- Name of the BlueZone
VBA project (.bvp) to load.
- MacroStr
- The name of the VBA
macro to run. The macro procedure must exist in the project file
specified by ProjectStr.
- MacroParamStr
- Optional: Macro
parameter to pass to the macro procedure when calling.
- Returns
- None.
- Example
Set bzhao = CreateObject("BZWhll.WhllObj")
bzhao.Connect
bzhao.RunExternalMacro "Project.bvp", "SubOne"