SHELL Y REGRESO

Alfonso

New Member
Joined
Jul 28, 2002
Messages
16
Buenas tardes!
Tengo un código VBA que hace:
1º) una llamada externa a un programita que me genera un fichero TXT
2º) Al retornar de generar este fichero, lee el mismo (ya en VBA) y lo procesa y coloca en distintas celdas de la hoja.
El problema que se me plantea es que realmente hace la llamada el programita externo, pero sigue el proceso, aún cuando no ha retornado(ni finalizado) el programita externo.
¿Sabéis cómo hacer para que no contínue las lineas de codigo-VBA mientras no finalice la ejecución del programa llamado?
Gracias por la respuesta.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,144,330
Messages
5,723,746
Members
422,513
Latest member
Meathead2022

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top