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.
Thread starter Similar threads Forum Replies Date
R Call a Public Sub when a Flag is clicked on in the Message Preview pane Outlook VBA and Custom Forms 1
CWM030 Call me old if you want. OL 2016 font size out of the box. Using Outlook 3
F Outlook 2016 call to Stop Timer Event Outlook VBA and Custom Forms 4
C Unchecking "Send immediately when connected" does not work on apps that call Outlook Using Outlook 1
M How to call custom email form when sender = x Using Outlook 3
D Create additional custom flag descriptions (other than Send E-Mail, Call etc.) Using Outlook 1
N Business Contacts - Call list to include company name Using Outlook 2
J this operation has been cancelled due to restrictions on this computer, Call your system administrat Using Outlook 2
R Do you run Exchange 2010 UM and use call answering rules? Exchange Server Administration 3
T Voicemails from Unified Messaging are showing the extension of the IP Gateway when a call is placed from an external number Exchange Server Administration 1
S need phone number to call for help with outlook 2010. Using Outlook 2
J When I try to click on a link embedded in an email I get an error that says that computer restrictions prevent access. Call the system administrator Using Outlook 1
K Find Me in Call Answering Rule tells callers 'One is not valid' but then dials out anyways Exchange Server Administration 2
R Exchange 2010 UM does not re-direct the call to Exchange 2007 UM server Exchange Server Administration 1
B I am know recieving double email after the first fix. My case number is: # 1140252913. I rep tried to call me tonight but could not get the nubmer. Using Outlook 3
C R6205 Pure Virtual Function call runtime error Using Outlook 9
M making a call report Using Outlook 1
T call feature Using Outlook 4
K call a help file when click on a button xml ribbon Outlook VBA and Custom Forms 1
C OL Sub through or by Excel Macro Call Outlook VBA and Custom Forms 1
S How to call a procedure from a custom command bar in Outlook 2007 Outlook VBA and Custom Forms 1
R Phone Call Start Date - Phone Log BCM (Business Contact Manager) 1
B Good Call Log Concept? Outlook VBA and Custom Forms 5
J Outlook custom form - VBS call VBA macro Outlook VBA and Custom Forms 3
T exception when I call ActiveDocument.Range(0,0).Editors.Add(-1) Outlook VBA and Custom Forms 2
D Call add-in method from macro? Outlook VBA and Custom Forms 1
M Phone Log Reminder to call back BCM (Business Contact Manager) 1
R Help, Outlook2003 won't quit after call OnDisconnection? Outlook VBA and Custom Forms 3
S Custom VBA forms in Outlook--how to call w/macro? Outlook VBA and Custom Forms 1
C scanpst.exe doesn't repair .pst file Using Outlook 1
Diane Poremsky OUTLOOK.EXE continues running after you exit Outlook New Slipstick.com Articles 0
C scanpst.exe will not open Using Outlook 0
makinmyway ScanPST.exe Missing Repair Button Using Outlook 15
wallisellener CLR20r3 outlook.exe BCM (Business Contact Manager) 3
G Error when running scanpst.exe Using Outlook 1
R Missing Backup command in File menu after installing pfback.exe Using Outlook 2
B Outlook.exe expands to 1.4 mb and causes eratic computer behavior Using Outlook 1
H ran scanpst.exe and that fixed most, but cannot access personal folders Using Outlook 1
M Outlook.exe 1.2Gb memory usage if running certain BCM reports BCM (Business Contact Manager) 8
S Outlook 2010 Ribbon - Creating Links To Websites or EXE Files Using Outlook 4
S CSCANPST To Automate Running SCANPST.EXE Using Outlook 1
U How do rename a recovered folder after repairing using scanpst.exe Using Outlook 1
B Trying to find &amp; run Scanpst.exe. Outlook can't log onto server. Have removed update KB2412171 &amp; it did not correct problem. Have done a resto Using Outlook 2
S Error in outlook.ost file, scanpst.exe does not work. Using Outlook 4
A Outlook.exe 32 process hangs, can't be ended without reboot Using Outlook 1
V exe file filtering in exchange Exchange Server Administration 2
R outlook.exe /resetnavpane does not work permanently Using Outlook 1
K MFCMAPI.EXE not working Using Outlook 3
S missing scanpst.exe file Using Outlook 6
Z Outlook 2010 will not open - scanpst.exe. worked once now get to 'Loading Profile' and stays there (win 7) Using Outlook 1
Similar threads


















































Top