MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

VBA GUI for a Fortran program

  Asked By: Armando    Date: Jan 07    Category: MS Office    Views: 1556

I have the following task to be accomplished.

I have a fortran executable which accepts a text file as an input and does something with the data and puts out the results in another text file.

Using VBA, I would like to be able to provide a GUI to the user to select the input file, run the executable in the background, view the results in excel.

Any ideas how I can go about doing this?



1 Answer Found

Answer #1    Answered By: Edward Jones     Answered On: Jan 07

It think what you will want to do is create a user  form that allows the user to
browse for the file, and then once they have the file  loaded in the input  box,
they would click an OK button that would kick off your Fortran code.

Unfortunately I can not currently find my code which will allow you to browse
for the file. I'll keep looking though.

Didn't find what you were looking for? Find more on VBA GUI for a Fortran program Or get search suggestion and latest updates.