How do you call a exe and interact with the output interactively

  • Thread starter Thread starter Chris Peel
  • Start date Start date
C

Chris Peel

I need to call a 3rd party application (Dos command e.g. exe) that has
output etc.

I need to call the exe and then read replies and send commands.

I'd like to do this all from VBA(Excel) and then take the output into a
excel sheet.

Is this possible ? My only other option is to create bat files from the
VBA and run those via Shell and look for outputs.

Thanks
 
I believe you would have to run via Shell, but this group has nothing to do
with shell execution or Excel, it's for Outlook, which you post doesn't
relate to at all.
 
Dear Chris

I hope you are you planning to do this in Excel.

You may use Shell and wait to finish the process...
You can reference Outlook object from Excel
Read the outputs and send replies... You can post back or post a comment in
Excel group for any help. Thanks

If this post helps click Yes
 
Back
Top