GetMacroStatus

Returns the status of the last run of the macro.

Declarations:

VC++

long GetMacroStatus (_bstr_t pFileName, BSTR * pStatus );

VISUAL BASIC:

GetMacroStatus (ByVal pFileName As String, ByRef pStatus As String) As Long

Parameters:

Return Value:

Returns 1 if there is any kind of failure, or 0 if successful.