# Execute VB Code

Executing code in Visual Basic with parameter passing from the script and back.

<table data-header-hidden><thead><tr><th width="258" valign="top"></th><th width="312" valign="top"></th></tr></thead><tbody><tr><td valign="top">Configuration</td><td valign="top">[Text] Configuration string. To edit the value, use the button on the "Edit" block.</td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that the blocks will output during operation. Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - outputs main information;</li><li>"Detailed" - outputs detailed information.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>

## The operation of this block is demonstrated in the video:

{% embed url="<https://sherparpa.ru/ucontent/?hXax>" %}
