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

Status
Not open for further replies.
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
 
K

Ken Slovak - [MVP - Outlook]

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.

"Chris Peel" <peel@echoworx.com> wrote in message

news:Xns9BCC58BD85D7Apeelechoworx@207.46.248.16...
> 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
 
S

SmFjb2IgU2thcmlh

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

------------
Jacob Skaria
 
Status
Not open for further replies.
Top