MacroCheck Function

Syntax              MacroCheck(MacroName$)

Group                Flow Control

Description       Check the syntax of a macro/module. Does not execute the macro/module. Returns an Err object if there is a syntax error, otherwise Nothing is returned.

Parameter         Description

MacroName$       Check the macro named by this string value.

See Also            MacroCheckThis, MacroRun, MacroRunThis, ModuleLoad, ModuleLoadThis.

Example            '#Language "WWB-COM"
Sub Main
    Dim E As ErrObject
    Set E = MacroCheck("Demo")
    If Not E IsNothing Then Debug.Print E.Description
EndSub