Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling fortran exe from vba

Status
Not open for further replies.

rafaeltini

Programmer
Nov 13, 2007
4
BR
i'm rtying to call a fortran exe from vba, but for some reason it doesn't start, but if i use it independent it works fine.
this is what i'm using to call.

Code:
retval = Shell("E:\Tini\Teste\sintese2.exe", 1)

the sintese2.exe should read an text file generated by excel, then, when the progran start it requires some user interaction on fortran.

any thoughts??
 
Wouldn't advise starting a program which requires user interaction from another program. If programA starts programB, programB will expect its input from programA and not from the console.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top