This function returns information about whether other Crystal Ball macro calls worked correctly. Most of the calls described in this document set a result value that CB.MacroResult returns. CB.MacroResult does not clear the result value until another Crystal Ball call changes the value.
Table 146. CB.MacroResult Returned Data Type
An error code that indicates what type of error the previous macro call encountered |
For a list of the named constants and values that CB.MacroResult returns, see Table 149. In VBA subroutines and functions, you can check the returned value against either the named constants or values. All returned values are negative integers (or 0 if no errors occur).