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.
Similar threads
Thread starter Title 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
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 Using Outlook 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
N Inbox repair tool - scanpst.exe. That file is missing from my computer. Using Outlook 2
M Can't send .zip file containing .exe file Using Outlook.com accounts in Outlook 1
D outlook.exe application error - breakpoint has been reached. fix? BCM (Business Contact Manager) 1
B Outlook fails - error says execute scanpst.exe but can't find it Using Outlook 8
C Deployment of custom form using "setup.exe" Outlook VBA and Custom Forms 4
J Changed Folder Structure; Outlook Doesn't Interact Properly Now Using Outlook 3

Similar threads

Top