I would appreciate any help from anyone with the following:
I have an external program (window32 based) that I am executing with the
VBA SHELL command. This program produces a text file which I have to
read after the external program finishes. I use the transfertext method
to read the file.
The problem is that the SHELL command executes external programs in an
asynch way. In other words, the VBA code will continue running and NOT
wait for the external program to finish.
I need to run this external program and HALT my VBA code until the
external program terminates. Is there any code out there or methods I
can use to do this??
Any help is greatly appreciated!
Thanks!
Greg Fierro
gfierro@SoftWer ksDev.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I have an external program (window32 based) that I am executing with the
VBA SHELL command. This program produces a text file which I have to
read after the external program finishes. I use the transfertext method
to read the file.
The problem is that the SHELL command executes external programs in an
asynch way. In other words, the VBA code will continue running and NOT
wait for the external program to finish.
I need to run this external program and HALT my VBA code until the
external program terminates. Is there any code out there or methods I
can use to do this??
Any help is greatly appreciated!
Thanks!
Greg Fierro
gfierro@SoftWer ksDev.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment