MavrickStl
Programmer
Guys,
My excel macro runs a batch script using shell command and other VBA code. I would like to know what command in VB I can use to stop executing of VBA code until my batch script is finished.
VBA code lines1
somewhere in between I am calling shell to run a batch file
More VBA code lines2
What command I can use to stop execution of More VBA code lines2 until my batch operation is finished. In older days people used sleep to wait for a job to finished until the next one started
Thanks,
Amit
My excel macro runs a batch script using shell command and other VBA code. I would like to know what command in VB I can use to stop executing of VBA code until my batch script is finished.
VBA code lines1
somewhere in between I am calling shell to run a batch file
More VBA code lines2
What command I can use to stop execution of More VBA code lines2 until my batch operation is finished. In older days people used sleep to wait for a job to finished until the next one started
Thanks,
Amit