use excel to input data into a program

jrisebo

Active Member
Joined
Mar 15, 2011
Messages
322
Office Version
  1. 365
Platform
  1. Windows
We have a program we use for some work, its a exe file that runs in a dos window. It starts with a menu of 5 choices, and I would like to use excel to populate the menu choices, and also other operations. Is this something excel can do, or is there a better way? It would involve opening files too, then continuing on with the menu choices and data input.

The reason I want to use excel is because some of the questions are data intensive, and repetitive, and we already have the data in excel.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
To automate the whole thing within excel is going to be very very difficult I think.

But I am assuming the exe ask the same five question every time. At least there will be a set of standard questions in the menu. You could run a macro to run on your data sheet and produce the various answer(s) for the exe, so you don't need to do that manually. But to reliably interact with the EXE will be difficult.
 
Upvote 0
any ideas how to automate input for a exe file? its a dos based exe, so it runs in a command window
 
Upvote 0
  • where lies most of the work?
    • Is it generating the data for input or is it just the tediousnes of the repetitive questions?
  • Is there no alternative to this old program?
    • What is happening to the data the program generates?
    • Can that not be generated / processed in a different way?
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top