Call Workspace Macros from from any script

You can call Workspace macros from a batch file or from any another program or a script. For example

To call Workspace Macro Pro 'download-emails.wksp'; from a batch file, add the following line in any batch file.

>"C:\Program Files\Workspace Macro Pro 6.0\Workspace Macro Pro.exe" download-emails.wksp /u

To call Workspace Macro 'download-data.wksp' from an excel macro, add following text into any excel macro.

Dim RetVal
RetVal = Shell("C:\Program Files\Workspace Macro Pro 6.0\Workspace Macro Pro.exe download-data /u", 1)

For more examples with Excel Macro pl. refer to http://www.tethyssolutions.com/excel-macro-examples.htm