# Ejecutar código VB

Ejecución de código en Visual Basic con la transmisión de parámetros desde el script y de vuelta.

<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">Configuración</td><td valign="top">[Texto] Cadena de configuración. Para editar el valor, es necesario utilizar el botón en el bloque "Editar".</td></tr><tr><td valign="top">Nivel de procesamiento</td><td valign="top"><p>Selección del nivel de manejo de errores. Valores posibles:</p><ul><li>"Default" - por defecto;</li><li>"Ignore" - errores ignorados;</li><li>"Handle" - errores manejados.</li></ul><p>Si se selecciona el valor "Default", se utilizará el valor del bloque "Inicio" de este diagrama.</p></td></tr><tr><td valign="top">Nivel de mensajes</td><td valign="top"><p>Selección del nivel de mensajes que los bloques mostrarán durante su funcionamiento. Valores posibles:</p><ul><li>"Default" - por defecto;</li><li>"Release" - salida desactivada;</li><li>"Debug" - salida de información principal;</li><li>"Detailed" - salida de información detallada.</li></ul><p>Si se selecciona el valor "Default", se utilizará el valor del bloque "Inicio" de este diagrama.</p></td></tr><tr><td valign="top">Texto de error</td><td valign="top">[Texto] Devuelve información detallada sobre el error en caso de ejecución incorrecta del bloque.</td></tr></tbody></table>

## El funcionamiento de este bloque se demuestra en el video:

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/es/sherpa-rpa/sherpa-designer/spravochnik-blokov/osnovnye-bloki-main-blocks/vypolnit-kod-vb-invokevbcode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
